aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2015-09-08 09:46:19 (GMT)
committerJouni Malinen <j@w1.fi>2015-10-03 17:22:09 (GMT)
commit3bafb0d842a9c5b07f66eda43a100a8af1fd0bba (patch)
tree2d7551d0e0ddb9f6fae533f37540b99244a5917b /wpa_supplicant/events.c
parent4e0ab656d29d7f838bc49d8d5b78c67f94193cb2 (diff)
downloadhostap-3bafb0d842a9c5b07f66eda43a100a8af1fd0bba.zip
hostap-3bafb0d842a9c5b07f66eda43a100a8af1fd0bba.tar.gz
hostap-3bafb0d842a9c5b07f66eda43a100a8af1fd0bba.tar.bz2
P2P: Trigger channel selection correctly during CSA
Do not consider moving GOs to a new channel if one of them is in the middle of CSA. In addition, call wpas_p2p_update_channel_list() after EVENT_CH_SWITCH is handled. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 23cf127..f15630c 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -3473,6 +3473,8 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
data->ch_switch.ch_width,
data->ch_switch.cf1,
data->ch_switch.cf2);
+
+ wpas_p2p_update_channel_list(wpa_s, WPAS_P2P_CHANNEL_UPDATE_CS);
break;
#ifdef NEED_AP_MLME
case EVENT_DFS_RADAR_DETECTED: