aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-02 11:36:12 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-02 11:36:12 (GMT)
commit59f2caa9258b2212de0f44a71ebaac112ddf9956 (patch)
tree72a5c853817411fda1a967803c20460171ba8058 /wpa_supplicant/bss.c
parent88ba1f7213f4df464c5c4f695ca3210bbd0d42a7 (diff)
downloadhostap-59f2caa9258b2212de0f44a71ebaac112ddf9956.zip
hostap-59f2caa9258b2212de0f44a71ebaac112ddf9956.tar.gz
hostap-59f2caa9258b2212de0f44a71ebaac112ddf9956.tar.bz2
WPS: Use BSS table instead of raw scan results
Diffstat (limited to 'wpa_supplicant/bss.c')
-rw-r--r--wpa_supplicant/bss.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/wpa_supplicant/bss.c b/wpa_supplicant/bss.c
index a826056..4d4e71e 100644
--- a/wpa_supplicant/bss.c
+++ b/wpa_supplicant/bss.c
@@ -65,9 +65,8 @@ static void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss)
}
-static struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s,
- const u8 *bssid, const u8 *ssid,
- size_t ssid_len)
+struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid,
+ const u8 *ssid, size_t ssid_len)
{
struct wpa_bss *bss;
dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) {