]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Update AP IE regardless WPA_DRIVER_FLAGS_BSS_SELECTION flag
authorDmitry Shmidt <dimitrysh@google.com>
Fri, 15 Feb 2013 00:44:44 +0000 (16:44 -0800)
committerJouni Malinen <j@w1.fi>
Tue, 6 Oct 2015 20:11:45 +0000 (23:11 +0300)
Change-Id: Ia2b0aea81e250cfd989861ed37551ca8c41f7a66
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
(cherry picked from commit 18306c6ac9281cca7d986a0d780047df0f32675f)

wpa_supplicant/events.c

index ea1f142ada1555aec869caae218aa954bb8f08bd..e5a9f10d8af382077ca4c2948c5025ac83bed9aa 100644 (file)
@@ -2120,8 +2120,12 @@ static void wpa_supplicant_event_assoc(struct wpa_supplicant *wpa_s,
                }
        }
 
+#ifdef ANDROID
+       if (wpa_s->conf->ap_scan == 1) {
+#else /* ANDROID */
        if (wpa_s->conf->ap_scan == 1 &&
            wpa_s->drv_flags & WPA_DRIVER_FLAGS_BSS_SELECTION) {
+#endif /* ANDROID */
                if (wpa_supplicant_assoc_update_ie(wpa_s) < 0 && new_bss)
                        wpa_msg(wpa_s, MSG_WARNING,
                                "WPA/RSN IEs not updated");