]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Make check_20mhz_bss() static
authorJouni Malinen <j@w1.fi>
Sat, 20 Jun 2015 13:05:54 +0000 (16:05 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 20 Jun 2015 13:05:54 +0000 (16:05 +0300)
This is not used outside this file anymore, so there is no need to
export the symbol either.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/hw_features_common.c
src/common/hw_features_common.h

index e61f82421bbf54032c1d788502ed51c75ec8c6dd..6d9bf6c21f018b28e435e0f7bb40ca573f3aa230 100644 (file)
@@ -237,7 +237,8 @@ int check_40mhz_5g(struct hostapd_hw_modes *mode,
 }
 
 
-int check_20mhz_bss(struct wpa_scan_res *bss, int pri_freq, int start, int end)
+static int check_20mhz_bss(struct wpa_scan_res *bss, int pri_freq, int start,
+                          int end)
 {
        struct ieee802_11_elems elems;
        struct ieee80211_ht_operation *oper;
index 7f43d00c5b275d3b3b92b2a78b13424476e084e0..7360b4e3efede5721ff9fcaf453277efd713e8e4 100644 (file)
@@ -26,7 +26,6 @@ void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan);
 int check_40mhz_5g(struct hostapd_hw_modes *mode,
                   struct wpa_scan_results *scan_res, int pri_chan,
                   int sec_chan);
-int check_20mhz_bss(struct wpa_scan_res *bss, int pri_freq, int start, int end);
 int check_40mhz_2g4(struct hostapd_hw_modes *mode,
                    struct wpa_scan_results *scan_res, int pri_chan,
                    int sec_chan);