aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorThomas Pedersen <c_tpeder@qca.qualcomm.com>2012-06-25 11:45:14 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-25 11:45:14 (GMT)
commit1b487b8b1e95e1fbd9e00d52d883ba0ac4c2e4bf (patch)
tree9b8ebae95234d64e861736aec269b67abafa28e2 /src/drivers/driver_common.c
parente7381b8473e7fb43c0e13f45c1c61e64d64072c2 (diff)
downloadhostap-1b487b8b1e95e1fbd9e00d52d883ba0ac4c2e4bf.zip
hostap-1b487b8b1e95e1fbd9e00d52d883ba0ac4c2e4bf.tar.gz
hostap-1b487b8b1e95e1fbd9e00d52d883ba0ac4c2e4bf.tar.bz2
nl80211: Handle CH_SWITCH event
Some drivers may independently decide to switch channels. Handle this by updating the hostapd and wpa_supplicant AP and GO configuration. Signed-hostap: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Diffstat (limited to 'src/drivers/driver_common.c')
-rw-r--r--src/drivers/driver_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/driver_common.c b/src/drivers/driver_common.c
index 345e851..81856aa 100644
--- a/src/drivers/driver_common.c
+++ b/src/drivers/driver_common.c
@@ -77,6 +77,7 @@ const char * event_to_string(enum wpa_event_type event)
E2S(SCHED_SCAN_STOPPED);
E2S(DRIVER_CLIENT_POLL_OK);
E2S(EAPOL_TX_STATUS);
+ E2S(CH_SWITCH);
}
return "UNKNOWN";