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
|
@ -795,6 +795,7 @@ enum hostapd_chan_status acs_init(struct hostapd_iface *iface)
|
|||
if (err < 0)
|
||||
return HOSTAPD_CHAN_INVALID;
|
||||
|
||||
hostapd_set_state(iface, HAPD_IFACE_ACS);
|
||||
wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, ACS_EVENT_STARTED);
|
||||
|
||||
return HOSTAPD_CHAN_ACS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue