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 7b6a6cb..c29cd58 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 1117c82..a118b01 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);