aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorVictor Goldenshtein <victorg@ti.com>2012-09-27 11:54:11 +0200
committerArik Nemtsov <arik@wizery.com>2012-09-27 12:09:16 +0200
commit4ecf5147c1fc48c18f1af2d20e6f131fcac76191 (patch)
treeaa0dfa4c0a4c9d21b5dc13ec7f9847eb5e7a75f4 /wpa_supplicant
parenta4b1942c82d2540cedcf76dbdd6ce7a23d7805fd (diff)
downloadexternal_wpa_supplicant_8_ti-4ecf5147c1fc48c18f1af2d20e6f131fcac76191.zip
external_wpa_supplicant_8_ti-4ecf5147c1fc48c18f1af2d20e6f131fcac76191.tar.gz
external_wpa_supplicant_8_ti-4ecf5147c1fc48c18f1af2d20e6f131fcac76191.tar.bz2
wpa_s: handle channel conflicts on GO+STA shared interface
Stop blocking GO role if its operational channel differs from the STA channel, as now the driver can handle channel conflicts by sending channel switch request to the userspace. Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/p2p_supplicant.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 5e0edfd..6603091 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -5036,6 +5036,12 @@ int wpas_p2p_handle_frequency_conflicts(struct wpa_supplicant *wpa_s, int freq)
iface->current_ssid->frequency = freq;
continue;
}
+
+ /* some drivers can handle this on their own */
+ if (wpa_s->driver->hapd_channel_switch) {
+ wpa_printf(MSG_INFO, "P2P: GO Ch. switch will be initiated by the driver");
+ continue;
+ }
}
/*