diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2013-02-15 00:44:44 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2014-10-26 16:08:58 (GMT) |
commit | a31712e248482844d80cd3de1cecce679cc577e6 (patch) | |
tree | e76da64b6b89931c1e2a2a27fe170090daf5f49b | |
parent | 8fb4647b1a7a730366d57c0fc2894b0069840167 (diff) | |
download | hostap-android-kk.zip hostap-android-kk.tar.gz hostap-android-kk.tar.bz2 |
Update AP IE regardless WPA_DRIVER_FLAGS_BSS_SELECTION flagandroid-kk
Change-Id: Ia2b0aea81e250cfd989861ed37551ca8c41f7a66
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r-- | wpa_supplicant/events.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index 6761c1a..2a1ffac 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -1894,8 +1894,12 @@ static void wpa_supplicant_event_assoc(struct wpa_supplicant *wpa_s, return; } +#ifdef ANDROID + if (wpa_s->conf->ap_scan == 1) { +#else if (wpa_s->conf->ap_scan == 1 && wpa_s->drv_flags & WPA_DRIVER_FLAGS_BSS_SELECTION) { +#endif if (wpa_supplicant_assoc_update_ie(wpa_s) < 0) wpa_msg(wpa_s, MSG_WARNING, "WPA/RSN IEs not updated"); |