hostapd: Track interface state
The new hostapd_iface::state enum is used to track the current state of the hostapd interface (a radio/wiphy). Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f0793bf191
commit
e1c5faf007
5 changed files with 50 additions and 0 deletions
|
@ -539,6 +539,7 @@ static int ieee80211n_check_40mhz(struct hostapd_iface *iface)
|
|||
if (!iface->conf->secondary_channel)
|
||||
return 0; /* HT40 not used */
|
||||
|
||||
hostapd_set_state(iface, HAPD_IFACE_HT_SCAN);
|
||||
wpa_printf(MSG_DEBUG, "Scan for neighboring BSSes prior to enabling "
|
||||
"40 MHz channel");
|
||||
os_memset(¶ms, 0, sizeof(params));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue