Set channel and operating class in hostapd_fill_csa_settings()
authorLuciano Coelho <luciano.coelho@intel.com>
Tue, 8 Sep 2015 09:46:30 +0000 (12:46 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 3 Oct 2015 18:26:23 +0000 (21:26 +0300)
commit7d82170aba0806cf2d560568f4e69cfaa53083ff
treeb0ded3e79246b5dc63e05727416f36375291cb28
parentd308a44fccc0b191956649b2264182621986af27
Set channel and operating class in hostapd_fill_csa_settings()

The CSA channel and operating class values need to be set for all types
of channel switch (i.e., either if it's triggered by the control
interfaces or due to the GO-follows-STA flow). To do so, move the code
that sets them from the GO-follows-STA flow to the more generic
hostapd_fill_csa_settings() function.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
src/ap/hostapd.c
wpa_supplicant/p2p_supplicant.c