1
0
Fork 0

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>
wifi-calibration
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;
}
uint rtw_is_cckrates_included23a(u8 *rate)
static bool rtw_is_cckrates_included(u8 *rate)
{
u32 i = 0;
@ -90,7 +90,7 @@ uint rtw_is_cckrates_included23a(u8 *rate)
return false;
}
uint rtw_is_cckratesonly_included23a(u8 *rate)
static bool rtw_is_cckratesonly_included(u8 *rate)
{
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)
{
if (channel > 14) {
if ((rtw_is_cckrates_included23a(rate)) == true)
if (rtw_is_cckrates_included(rate))
return WIRELESS_INVALID;
else
return WIRELESS_11A;
} 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;
else if ((rtw_is_cckrates_included23a(rate)) == true)
else if (rtw_is_cckrates_included(rate))
return WIRELESS_11BG;
else
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);
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);
void rtw_get_bcn_info23a(struct wlan_network *pnetwork);