[PATCH 2/2] Update IE after association regardless driver roaming support

Dmitry Shmidt dimitrysh
Wed Jan 15 10:30:12 PST 2014


Update IE is necessary if roaming is done by driver / FW, but will
not harm in other case

Signed-off-by: Dmitry Shmidt <dimitrysh at google.com>
---
 wpa_supplicant/events.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 632f0fe..f936b55 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1865,8 +1865,7 @@ static void wpa_supplicant_event_assoc(struct wpa_supplicant *wpa_s,
 				wpa_s->current_bss = bss;
 		}
 
-		if (wpa_s->conf->ap_scan == 1 &&
-		    wpa_s->drv_flags & WPA_DRIVER_FLAGS_BSS_SELECTION) {
+		if (wpa_s->conf->ap_scan == 1) {
 			if (wpa_supplicant_assoc_update_ie(wpa_s) < 0)
 				wpa_msg(wpa_s, MSG_WARNING,
 					"WPA/RSN IEs not updated");
-- 
1.8.5.2




More information about the Hostap mailing list