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

staging: rtl8723au: Don't return true/false in unsigned int

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f66e05d8
...@@ -1166,7 +1166,7 @@ void update_beacon23a_info(struct rtw_adapter *padapter, u8 *pframe, uint pkt_le ...@@ -1166,7 +1166,7 @@ void update_beacon23a_info(struct rtw_adapter *padapter, u8 *pframe, uint pkt_le
} }
} }
unsigned int is_ap_in_tkip23a(struct rtw_adapter *padapter) bool is_ap_in_tkip23a(struct rtw_adapter *padapter)
{ {
u32 i; u32 i;
struct ndis_802_11_var_ies *pIE; struct ndis_802_11_var_ies *pIE;
...@@ -1201,7 +1201,7 @@ unsigned int is_ap_in_tkip23a(struct rtw_adapter *padapter) ...@@ -1201,7 +1201,7 @@ unsigned int is_ap_in_tkip23a(struct rtw_adapter *padapter)
return false; return false;
} }
unsigned int should_forbid_n_rate23a(struct rtw_adapter * padapter) bool should_forbid_n_rate23a(struct rtw_adapter * padapter)
{ {
u32 i; u32 i;
struct ndis_802_11_var_ies *pIE; struct ndis_802_11_var_ies *pIE;
...@@ -1241,7 +1241,7 @@ unsigned int should_forbid_n_rate23a(struct rtw_adapter * padapter) ...@@ -1241,7 +1241,7 @@ unsigned int should_forbid_n_rate23a(struct rtw_adapter * padapter)
} }
} }
unsigned int is_ap_in_wep23a(struct rtw_adapter *padapter) bool is_ap_in_wep23a(struct rtw_adapter *padapter)
{ {
u32 i; u32 i;
struct ndis_802_11_var_ies *pIE; struct ndis_802_11_var_ies *pIE;
......
...@@ -554,9 +554,9 @@ int receive_disconnect23a(struct rtw_adapter *padapter, ...@@ -554,9 +554,9 @@ int receive_disconnect23a(struct rtw_adapter *padapter,
unsigned char get_highest_rate_idx23a(u32 mask); unsigned char get_highest_rate_idx23a(u32 mask);
int support_short_GI23a(struct rtw_adapter *padapter, int support_short_GI23a(struct rtw_adapter *padapter,
struct HT_caps_element *pHT_caps); struct HT_caps_element *pHT_caps);
unsigned int is_ap_in_tkip23a(struct rtw_adapter *padapter); bool is_ap_in_tkip23a(struct rtw_adapter *padapter);
unsigned int is_ap_in_wep23a(struct rtw_adapter *padapter); bool is_ap_in_wep23a(struct rtw_adapter *padapter);
unsigned int should_forbid_n_rate23a(struct rtw_adapter *padapter); bool should_forbid_n_rate23a(struct rtw_adapter *padapter);
void report_join_res23a(struct rtw_adapter *padapter, int res); void report_join_res23a(struct rtw_adapter *padapter, int res);
void report_survey_event23a(struct rtw_adapter *padapter, void report_survey_event23a(struct rtw_adapter *padapter,
......
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