summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>2019-04-15 23:27:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-16 14:45:40 +0300
commit5ef6c5db04ffff21006099961c3c8acc5727b2c8 (patch)
treebffa6dad09a24b40184088ad7e7260efc151da7a /drivers
parent74941703accd4a94e7a74c31050d7985216b7034 (diff)
downloadlinux-5ef6c5db04ffff21006099961c3c8acc5727b2c8.tar.xz
Staging: rtl8723bs: Remove typedef in struct ieee_param
Remove typedef in struct ieee_param, as the struct that has elements that can reasonably be directly accessed should never be a typedef. Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8723bs/include/ieee80211.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h
index 8077465402c6..1327728e6dff 100644
--- a/drivers/staging/rtl8723bs/include/ieee80211.h
+++ b/drivers/staging/rtl8723bs/include/ieee80211.h
@@ -202,7 +202,7 @@ enum NETWORK_TYPE
#define IsSupportedVHT(NetType) (((NetType) & (WIRELESS_11AC)) ? true : false)
-typedef struct ieee_param {
+struct ieee_param {
u32 cmd;
u8 sta_addr[ETH_ALEN];
union {
@@ -240,7 +240,7 @@ typedef struct ieee_param {
u8 buf[0];
} bcn_ie;
} u;
-}ieee_param;
+};
struct ieee_param_ex {
u32 cmd;