diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-09-25 15:34:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-25 19:53:06 +0200 |
commit | 758f140d473893bbfad9b9bbf6597ce93d55f415 (patch) | |
tree | b6dce5b913ede73abccf606b6b6fb52fff11b57c /drivers/staging/wlan-ng/p80211types.h | |
parent | staging: wlan-ng: avoid new typedef: p80211pstr14_t (diff) | |
download | linux-dev-758f140d473893bbfad9b9bbf6597ce93d55f415.tar.xz linux-dev-758f140d473893bbfad9b9bbf6597ce93d55f415.zip |
staging: wlan-ng: avoid new typedef: p80211pstr32_t
This patch fixes the following checkpatch.pl warning in p80211types.h:
WARNING: do not add new typedefs
It applies for typedef p80211pstr32_t
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211types.h')
-rw-r--r-- | drivers/staging/wlan-ng/p80211types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wlan-ng/p80211types.h b/drivers/staging/wlan-ng/p80211types.h index b77f8f026f49..3d5e81be935b 100644 --- a/drivers/staging/wlan-ng/p80211types.h +++ b/drivers/staging/wlan-ng/p80211types.h @@ -243,10 +243,10 @@ struct p80211pstr14 { } __packed; /* pascal string for ssid */ -typedef struct p80211pstr32 { +struct p80211pstr32 { u8 len; u8 data[MAXLEN_PSTR32]; -} __packed p80211pstr32_t; +} __packed; /* MAC address array */ typedef struct p80211macarray { @@ -298,7 +298,7 @@ typedef struct p80211item_pstr32 { u32 did; u16 status; u16 len; - p80211pstr32_t data; + struct p80211pstr32 data; } __packed p80211item_pstr32_t; /* message data item for OCTETSTR, DISPLAYSTR */ |