Messages in this thread Patch in this message | | | From | Madhumitha Prabakaran <> | Subject | [PATCH 2/3] Staging: rtl8723bs: Remove typedef in struct ieee_param | Date | Mon, 15 Apr 2019 15:27:03 -0500 |
| |
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> --- drivers/staging/rtl8723bs/include/ieee80211.h | 4 ++-- 1 file 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; -- 2.17.1
| |