aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2016-02-15 14:53:41 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-22 17:53:04 (GMT)
commit84d1c0fd5a5d49a29feae6327f6dbd75dd8a251e (patch)
tree5601c93e09e320e268e6f7a9878467ef75333612 /wpa_supplicant/events.c
parentcf11ab7f0334bcb6caa82b4ff36e70e1d6e8c0d2 (diff)
downloadhostap-84d1c0fd5a5d49a29feae6327f6dbd75dd8a251e.zip
hostap-84d1c0fd5a5d49a29feae6327f6dbd75dd8a251e.tar.gz
hostap-84d1c0fd5a5d49a29feae6327f6dbd75dd8a251e.tar.bz2
WNM: Add candidate list to BSS transition response
Add the transition candidate list to BSS Transition Management Response frame. The candidates preference is set using the regular wpa_supplicant BSS selection logic. If the BSS transition request is rejected and updated scan results are not available, the list is not added. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 00e4c04..3c3b559 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -816,10 +816,10 @@ static int addr_in_list(const u8 *addr, const u8 *list, size_t num)
}
-static struct wpa_ssid * wpa_scan_res_match(struct wpa_supplicant *wpa_s,
- int i, struct wpa_bss *bss,
- struct wpa_ssid *group,
- int only_first_ssid)
+struct wpa_ssid * wpa_scan_res_match(struct wpa_supplicant *wpa_s,
+ int i, struct wpa_bss *bss,
+ struct wpa_ssid *group,
+ int only_first_ssid)
{
u8 wpa_ie_len, rsn_ie_len;
int wpa;