Do not clear hostapd configuration parameters on disable-iface
There was a comment about the the cleanup steps being from hostapd_cleanup_iface(). However, the operations that cleared some security parameters do not seem to exist elsewhere and do not make sense here. Remove them to avoid changing configuration with DISABLE followed by ENABLE. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
66f4dd1550
commit
97bacf7cf6
1 changed files with 0 additions and 3 deletions
|
@ -1217,9 +1217,6 @@ int hostapd_disable_iface(struct hostapd_iface *hapd_iface)
|
|||
* hostapd_setup_interface and hostapd_setup_interface_complete
|
||||
*/
|
||||
hostapd_cleanup_iface_partial(hapd_iface);
|
||||
bss->wpa = 0;
|
||||
bss->wpa_key_mgmt = -1;
|
||||
bss->wpa_pairwise = -1;
|
||||
|
||||
wpa_printf(MSG_DEBUG, "Interface %s disabled", bss->iface);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue