]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: Make struct ht_priv.ht_option a bool
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 9 Jun 2014 13:16:06 +0000 (15:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 20:51:47 +0000 (13:51 -0700)
Match the return type of rtw_restructure_ht_ie23a() accordingly

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme.c
drivers/staging/rtl8723au/include/rtw_ht.h
drivers/staging/rtl8723au/include/rtw_mlme.h

index a3174c0d42f95c82926e9d1e218f4600325e3e91..d48b986c06d85373bf57f145c0e111ee3c149c1c 100644 (file)
@@ -2189,8 +2189,8 @@ void rtw_joinbss_reset23a(struct rtw_adapter *padapter)
 }
 
 /* the fucntion is >= passive_level */
-unsigned int rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie,
-                                     u8 *out_ie, uint in_len, uint *pout_len)
+bool rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie,
+                             u8 *out_ie, uint in_len, uint *pout_len)
 {
        u32 out_len;
        int max_rx_ampdu_factor;
index 86ce86b6b69b049aeb8a79dc6f0285f11cbd1b85..f0863765f74e69d40e6ff7b33a20cee6e43dadab 100644 (file)
@@ -21,7 +21,7 @@
 
 struct ht_priv
 {
-       u32     ht_option;
+       bool    ht_option;
        u32     ampdu_enable;/* for enable Tx A-MPDU */
        /* u8   baddbareq_issued[16]; */
        u32     tx_amsdu_enable;/* for enable Tx A-MSDU */
index 4d327ba775b0845ef514f96093a1bf8eff422ecc..a11b5bd9e7af93861e59aae7cf92256429e21702 100644 (file)
@@ -356,8 +356,8 @@ __le16 *rtw_get_beacon_interval23a_from_ie(u8 *ie);
 
 void rtw_joinbss_reset23a(struct rtw_adapter *padapter);
 
-unsigned int rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie,
-                                  u8 *out_ie, uint in_len, uint *pout_len);
+bool rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie,
+                             u8 *out_ie, uint in_len, uint *pout_len);
 void rtw_update_ht_cap23a(struct rtw_adapter *padapter,
                       u8 *pie, uint ie_len);
 void rtw_issue_addbareq_cmd23a(struct rtw_adapter *padapter,