aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2012-09-20 10:35:40 -0500
committerVishal Mahaveer <vishalm@ti.com>2012-09-20 10:35:40 -0500
commit761368a07b3754dced0e351cac57c4c95730d5d3 (patch)
treef0417285014ab1fe77950ce0c1a8106d6cd3d45c /wpa_supplicant
parent846a11d74da8cb7b8c6c470a8c1f35e4429d6156 (diff)
parent9c03c3c348b3660a820d7dfd4fb762d5eb9fca4c (diff)
downloadexternal_wpa_supplicant_8_ti-761368a07b3754dced0e351cac57c4c95730d5d3.zip
external_wpa_supplicant_8_ti-761368a07b3754dced0e351cac57c4c95730d5d3.tar.gz
external_wpa_supplicant_8_ti-761368a07b3754dced0e351cac57c4c95730d5d3.tar.bz2
Merge commit 'ol_R5.SP3.01' into d-jb-release
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/events.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 56ae94c..c3e9ed6 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2556,6 +2556,12 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
data->ch_switch.ch_offset);
#endif /* CONFIG_AP */
break;
+ case EVENT_REQ_CH_SW:
+ if (!data)
+ break;
+ ieee802_11_start_channel_switch(wpa_s->ap_iface->bss[0],
+ data->ch_switch.freq, FALSE);
+ break;
case EVENT_RX_MGMT: {
u16 fc, stype;
const struct ieee80211_mgmt *mgmt;