]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WNM: Mark wnm_scan_response() static
authorJouni Malinen <j@w1.fi>
Sat, 22 Nov 2014 14:37:40 +0000 (16:37 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 22 Nov 2014 16:06:37 +0000 (18:06 +0200)
This function is not used outside wnm_sta.c.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wnm_sta.c
wpa_supplicant/wnm_sta.h

index 7b6a6cb986a34a3db40901e608e46a79960c23b6..c29cd5895be5d3304aae8934db561113a413c0de 100644 (file)
@@ -533,8 +533,8 @@ static void wnm_send_bss_transition_mgmt_resp(
 }
 
 
-void wnm_scan_response(struct wpa_supplicant *wpa_s,
-                      struct wpa_scan_results *scan_res)
+static void wnm_scan_response(struct wpa_supplicant *wpa_s,
+                             struct wpa_scan_results *scan_res)
 {
        u8 bssid[ETH_ALEN];
 
index 1117c825852bd658a842dce6d9fbf5255f59b702..a118b016d575d6fe66ebaf7b1ad3ef51d9037f5c 100644 (file)
@@ -54,9 +54,6 @@ int ieee802_11_send_wnmsleep_req(struct wpa_supplicant *wpa_s,
 void ieee802_11_rx_wnm_action(struct wpa_supplicant *wpa_s,
                              const struct ieee80211_mgmt *mgmt, size_t len);
 
-void wnm_scan_response(struct wpa_supplicant *wpa_s,
-                      struct wpa_scan_results *scan_res);
-
 int wnm_send_bss_transition_mgmt_query(struct wpa_supplicant *wpa_s,
                                       u8 query_reason);
 void wnm_deallocate_memory(struct wpa_supplicant *wpa_s);