Disable interface if ACS fails
In case of Automatic Channel Selection (ACS) failure, we do not have a real fallback path. Interface still remains in ACS state. To reflect we did not succeed with ACS, simply disable the interface and indicate this to user/upper layer entity so that a suitable recovery or error notification can be performed. Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com>
This commit is contained in:
parent
13adbe23e9
commit
185677b74c
1 changed files with 1 additions and 0 deletions
|
@ -284,6 +284,7 @@ static void acs_fail(struct hostapd_iface *iface)
|
||||||
{
|
{
|
||||||
wpa_printf(MSG_ERROR, "ACS: Failed to start");
|
wpa_printf(MSG_ERROR, "ACS: Failed to start");
|
||||||
acs_cleanup(iface);
|
acs_cleanup(iface);
|
||||||
|
hostapd_disable_iface(iface);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue