diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-09-25 15:35:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-25 19:54:01 +0200 |
commit | 6a50b5afac396a708fa2cf18dd806603e90aad76 (patch) | |
tree | 3af7a27f4269d2ef957628700e814e5f50db8aa6 /drivers/staging/wlan-ng/cfg80211.c | |
parent | staging: wlan-ng: avoid new typedef: p80211item_pstr14_t (diff) | |
download | linux-dev-6a50b5afac396a708fa2cf18dd806603e90aad76.tar.xz linux-dev-6a50b5afac396a708fa2cf18dd806603e90aad76.zip |
staging: wlan-ng: avoid new typedef: p80211item_pstr32_t
This patch fixes the following checkpatch.pl warning in p80211types.h:
WARNING: do not add new typedefs
It applies for typedef p80211item_pstr32_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/cfg80211.c')
-rw-r--r-- | drivers/staging/wlan-ng/cfg80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c index 9f05c1724fbe..182b2d564627 100644 --- a/drivers/staging/wlan-ng/cfg80211.c +++ b/drivers/staging/wlan-ng/cfg80211.c @@ -86,8 +86,8 @@ static int prism2_domibset_pstr32(struct wlandevice *wlandev, u32 did, u8 len, const u8 *data) { struct p80211msg_dot11req_mibset msg; - p80211item_pstr32_t *mibitem = - (p80211item_pstr32_t *)&msg.mibattribute.data; + struct p80211item_pstr32 *mibitem = + (struct p80211item_pstr32 *)&msg.mibattribute.data; msg.msgcode = DIDmsg_dot11req_mibset; mibitem->did = did; |