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

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen 2014-05-09 15:03:08 +02:00 committed by Greg Kroah-Hartman
parent c4784756a5
commit b34a643e9b
2 changed files with 5 additions and 9 deletions

View file

@ -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)
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)
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;

View file

@ -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);