diff options
author | Madhumitha Prabakaran <madhumithabiw@gmail.com> | 2019-04-15 23:27:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-16 14:45:40 +0300 |
commit | 74941703accd4a94e7a74c31050d7985216b7034 (patch) | |
tree | f89cb06e48df598ed95615000ab6c3812bc6bb5a /drivers | |
parent | 7be2b288be66e08d78ede27d8ab0adb61b30d4db (diff) | |
download | linux-74941703accd4a94e7a74c31050d7985216b7034.tar.xz |
Staging: rtl8723bs: Remove typedef in struct ieee_param_ex
Remove typedef in struct ieee_param_ex, 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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h index 9efb4dcb9d3a..8077465402c6 100644 --- a/drivers/staging/rtl8723bs/include/ieee80211.h +++ b/drivers/staging/rtl8723bs/include/ieee80211.h @@ -242,11 +242,11 @@ typedef struct ieee_param { } u; }ieee_param; -typedef struct ieee_param_ex { +struct ieee_param_ex { u32 cmd; u8 sta_addr[ETH_ALEN]; u8 data[0]; -}ieee_param_ex; +}; struct sta_data{ u16 aid; |