diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2012-02-16 16:31:00 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2012-02-16 16:31:00 +0200 |
commit | 95bc2ea63dafc5c4bfa0e439e710324df0fbbbb8 (patch) | |
tree | 1b7952ddf73943d6f62f8b28a09c95a3287e8d37 | |
parent | d445a5cd8ebb9bb10edb8a8293fae1a866331682 (diff) | |
download | external_wpa_supplicant_8_ti-95bc2ea63dafc5c4bfa0e439e710324df0fbbbb8.zip external_wpa_supplicant_8_ti-95bc2ea63dafc5c4bfa0e439e710324df0fbbbb8.tar.gz external_wpa_supplicant_8_ti-95bc2ea63dafc5c4bfa0e439e710324df0fbbbb8.tar.bz2 |
Interworking: Do not disable other network profiles
This allows previously configured network profiles to be used so
that user can indicate preference of manually configured networks.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r-- | wpa_supplicant/interworking.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c index ac89ff8..56dd5b1 100644 --- a/wpa_supplicant/interworking.c +++ b/wpa_supplicant/interworking.c @@ -608,7 +608,9 @@ static int interworking_connect_3gpp(struct wpa_supplicant *wpa_s, < 0) goto fail; - wpa_supplicant_select_network(wpa_s, ssid); + wpa_s->disconnected = 0; + wpa_s->reassociate = 1; + wpa_supplicant_req_scan(wpa_s, 0, 0); return 0; @@ -746,7 +748,9 @@ int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) nai_realm_free(realm, count); - wpa_supplicant_select_network(wpa_s, ssid); + wpa_s->disconnected = 0; + wpa_s->reassociate = 1; + wpa_supplicant_req_scan(wpa_s, 0, 0); return 0; |