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

staging: wlan-ng: avoid new typedef: p80211item_unk392_t

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

It applies for typedef p80211item_unk392_t
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3636ab01
...@@ -51,7 +51,7 @@ struct p80211msg_dot11req_mibget { ...@@ -51,7 +51,7 @@ struct p80211msg_dot11req_mibget {
u32 msgcode; u32 msgcode;
u32 msglen; u32 msglen;
u8 devname[WLAN_DEVNAMELEN_MAX]; u8 devname[WLAN_DEVNAMELEN_MAX];
p80211item_unk392_t mibattribute; struct p80211item_unk392 mibattribute;
struct p80211item_uint32 resultcode; struct p80211item_uint32 resultcode;
} __packed; } __packed;
...@@ -59,7 +59,7 @@ struct p80211msg_dot11req_mibset { ...@@ -59,7 +59,7 @@ struct p80211msg_dot11req_mibset {
u32 msgcode; u32 msgcode;
u32 msglen; u32 msglen;
u8 devname[WLAN_DEVNAMELEN_MAX]; u8 devname[WLAN_DEVNAMELEN_MAX];
p80211item_unk392_t mibattribute; struct p80211item_unk392 mibattribute;
struct p80211item_uint32 resultcode; struct p80211item_uint32 resultcode;
} __packed; } __packed;
......
...@@ -614,7 +614,7 @@ static int p80211knetdev_set_mac_address(netdevice_t *dev, void *addr) ...@@ -614,7 +614,7 @@ static int p80211knetdev_set_mac_address(netdevice_t *dev, void *addr)
{ {
struct sockaddr *new_addr = addr; struct sockaddr *new_addr = addr;
struct p80211msg_dot11req_mibset dot11req; struct p80211msg_dot11req_mibset dot11req;
p80211item_unk392_t *mibattr; struct p80211item_unk392 *mibattr;
struct p80211item_pstr6 *macaddr; struct p80211item_pstr6 *macaddr;
struct p80211item_uint32 *resultcode; struct p80211item_uint32 *resultcode;
int result; int result;
......
...@@ -310,12 +310,12 @@ struct p80211item_pstr255 { ...@@ -310,12 +310,12 @@ struct p80211item_pstr255 {
} __packed; } __packed;
/* message data item for UNK 392, namely mib items */ /* message data item for UNK 392, namely mib items */
typedef struct p80211item_unk392 { struct p80211item_unk392 {
u32 did; u32 did;
u16 status; u16 status;
u16 len; u16 len;
u8 data[MAXLEN_MIBATTRIBUTE]; u8 data[MAXLEN_MIBATTRIBUTE];
} __packed p80211item_unk392_t; } __packed;
/* message data item for UNK 1025, namely p2 pdas */ /* message data item for UNK 1025, namely p2 pdas */
typedef struct p80211item_unk1024 { typedef struct p80211item_unk1024 {
......
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