Commit f8b8f64f authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman

staging: wlan-ng: avoid new typedef: p80211item_unk4096_t

This patch fixes the following checkpatch.pl warning in p80211types.h:
WARNING: do not add new typedefs

It applies for typedef p80211item_unk4096_t
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1ad26f70
...@@ -246,7 +246,7 @@ struct p80211msg_p2req_ramdl_write { ...@@ -246,7 +246,7 @@ struct p80211msg_p2req_ramdl_write {
u8 devname[WLAN_DEVNAMELEN_MAX]; u8 devname[WLAN_DEVNAMELEN_MAX];
struct p80211item_uint32 addr; struct p80211item_uint32 addr;
struct p80211item_uint32 len; struct p80211item_uint32 len;
p80211item_unk4096_t data; struct p80211item_unk4096 data;
struct p80211item_uint32 resultcode; struct p80211item_uint32 resultcode;
} __packed; } __packed;
...@@ -264,7 +264,7 @@ struct p80211msg_p2req_flashdl_write { ...@@ -264,7 +264,7 @@ struct p80211msg_p2req_flashdl_write {
u8 devname[WLAN_DEVNAMELEN_MAX]; u8 devname[WLAN_DEVNAMELEN_MAX];
struct p80211item_uint32 addr; struct p80211item_uint32 addr;
struct p80211item_uint32 len; struct p80211item_uint32 len;
p80211item_unk4096_t data; struct p80211item_unk4096 data;
struct p80211item_uint32 resultcode; struct p80211item_uint32 resultcode;
} __packed; } __packed;
......
...@@ -326,12 +326,12 @@ struct p80211item_unk1024 { ...@@ -326,12 +326,12 @@ struct p80211item_unk1024 {
} __packed; } __packed;
/* message data item for UNK 4096, namely p2 download chunks */ /* message data item for UNK 4096, namely p2 download chunks */
typedef struct p80211item_unk4096 { struct p80211item_unk4096 {
u32 did; u32 did;
u16 status; u16 status;
u16 len; u16 len;
u8 data[4096]; u8 data[4096];
} __packed p80211item_unk4096_t; } __packed;
struct catlistitem; struct catlistitem;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment