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

staging: rtl8723au: rtw_ieee80211.c mark a couple of function static

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c4784756
...@@ -76,7 +76,7 @@ int rtw_get_bit_value_from_ieee_value23a(u8 val) ...@@ -76,7 +76,7 @@ int rtw_get_bit_value_from_ieee_value23a(u8 val)
return 0; return 0;
} }
uint rtw_is_cckrates_included23a(u8 *rate) static bool rtw_is_cckrates_included(u8 *rate)
{ {
u32 i = 0; u32 i = 0;
...@@ -90,7 +90,7 @@ uint rtw_is_cckrates_included23a(u8 *rate) ...@@ -90,7 +90,7 @@ uint rtw_is_cckrates_included23a(u8 *rate)
return false; return false;
} }
uint rtw_is_cckratesonly_included23a(u8 *rate) static bool rtw_is_cckratesonly_included(u8 *rate)
{ {
u32 i = 0; u32 i = 0;
...@@ -108,14 +108,14 @@ uint rtw_is_cckratesonly_included23a(u8 *rate) ...@@ -108,14 +108,14 @@ uint rtw_is_cckratesonly_included23a(u8 *rate)
int rtw_check_network_type23a(unsigned char *rate, int ratelen, int channel) int rtw_check_network_type23a(unsigned char *rate, int ratelen, int channel)
{ {
if (channel > 14) { if (channel > 14) {
if ((rtw_is_cckrates_included23a(rate)) == true) if (rtw_is_cckrates_included(rate))
return WIRELESS_INVALID; return WIRELESS_INVALID;
else else
return WIRELESS_11A; return WIRELESS_11A;
} else { /* could be pure B, pure G, or B/G */ } else { /* could be pure B, pure G, or B/G */
if ((rtw_is_cckratesonly_included23a(rate)) == true) if (rtw_is_cckratesonly_included(rate))
return WIRELESS_11B; return WIRELESS_11B;
else if ((rtw_is_cckrates_included23a(rate)) == true) else if (rtw_is_cckrates_included(rate))
return WIRELESS_11BG; return WIRELESS_11BG;
else else
return WIRELESS_11G; return WIRELESS_11G;
......
...@@ -447,10 +447,6 @@ int rtw_generate_ie23a(struct registry_priv *pregistrypriv); ...@@ -447,10 +447,6 @@ int rtw_generate_ie23a(struct registry_priv *pregistrypriv);
int rtw_get_bit_value_from_ieee_value23a(u8 val); int rtw_get_bit_value_from_ieee_value23a(u8 val);
uint rtw_is_cckrates_included23a(u8 *rate);
uint rtw_is_cckratesonly_included23a(u8 *rate);
int rtw_check_network_type23a(unsigned char *rate, int ratelen, int channel); int rtw_check_network_type23a(unsigned char *rate, int ratelen, int channel);
void rtw_get_bcn_info23a(struct wlan_network *pnetwork); void rtw_get_bcn_info23a(struct wlan_network *pnetwork);
......
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