Commit 6f765c20 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Make struct ht_priv.ht_option a bool

Match the return type of rtw_restructure_ht_ie23a() accordingly
Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c9324c88
...@@ -2189,7 +2189,7 @@ void rtw_joinbss_reset23a(struct rtw_adapter *padapter) ...@@ -2189,7 +2189,7 @@ void rtw_joinbss_reset23a(struct rtw_adapter *padapter)
} }
/* the fucntion is >= passive_level */ /* the fucntion is >= passive_level */
unsigned int rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie, bool rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie,
u8 *out_ie, uint in_len, uint *pout_len) u8 *out_ie, uint in_len, uint *pout_len)
{ {
u32 out_len; u32 out_len;
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
struct ht_priv struct ht_priv
{ {
u32 ht_option; bool ht_option;
u32 ampdu_enable;/* for enable Tx A-MPDU */ u32 ampdu_enable;/* for enable Tx A-MPDU */
/* u8 baddbareq_issued[16]; */ /* u8 baddbareq_issued[16]; */
u32 tx_amsdu_enable;/* for enable Tx A-MSDU */ u32 tx_amsdu_enable;/* for enable Tx A-MSDU */
......
...@@ -356,7 +356,7 @@ __le16 *rtw_get_beacon_interval23a_from_ie(u8 *ie); ...@@ -356,7 +356,7 @@ __le16 *rtw_get_beacon_interval23a_from_ie(u8 *ie);
void rtw_joinbss_reset23a(struct rtw_adapter *padapter); void rtw_joinbss_reset23a(struct rtw_adapter *padapter);
unsigned int rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie, bool rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie,
u8 *out_ie, uint in_len, uint *pout_len); u8 *out_ie, uint in_len, uint *pout_len);
void rtw_update_ht_cap23a(struct rtw_adapter *padapter, void rtw_update_ht_cap23a(struct rtw_adapter *padapter,
u8 *pie, uint ie_len); u8 *pie, uint ie_len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment