4bd1efe073
If the CreateInterface command was used to create a virtual AP interface, deleting this interface using the RemoveInterface command was also bringing down the primary interface. wpa_supplicant never uses hostapd style multi-BSS setup with type=WPA_IF_AP_BSS and setup_ap=1 to if_add() when creating an AP interface in wpa_driver_nl80211_if_add(), so it should not go through the multi-BSS tear down procedure in wpa_driver_nl80211_if_remove(). The virtual AP resources init and deinit are well handled in wpa_driver_nl80211_init() and wpa_driver_nl80211_deinit(). Collapse the interface type to WPA_IF_STATION for the D-Bus interface to skip the multi-BSS cleanup procedure. This is inline with the control interface design. Add comments before the code to avoid confusion. Signed-off-by: Jintao Lin <jintaolin@chromium.org> |
||
---|---|---|
.. | ||
.gitignore | ||
dbus-wpa_supplicant.conf | ||
dbus_common.c | ||
dbus_common.h | ||
dbus_common_i.h | ||
dbus_dict_helpers.c | ||
dbus_dict_helpers.h | ||
dbus_new.c | ||
dbus_new.h | ||
dbus_new_handlers.c | ||
dbus_new_handlers.h | ||
dbus_new_handlers_p2p.c | ||
dbus_new_handlers_p2p.h | ||
dbus_new_handlers_wps.c | ||
dbus_new_helpers.c | ||
dbus_new_helpers.h | ||
dbus_new_introspect.c | ||
fi.w1.wpa_supplicant1.service.in | ||
Makefile |