Re: [PATCH] dbus: Do not bring down the primary interface when remove the wpa_supplicant created virtual AP interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 06, 2022 at 05:41:58PM +0000, Jintao Lin wrote:
> If use dbus command CreateInterface to create a virtual AP interface,
> deleting this interface using dbus command RemoveInterface will also
> bring down the primary interface.
> 
> wpa_supplicant never uses MBSSID when creating AP interface in
> wpa_driver_nl80211_if_add, so it should not go through the MBSSID
> 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 to skip the MBSSID
> cleanup procedure. This is inline with ctrl_iface. Add comments before
> the code to avoid confusion.

Thanks, applied. I'm not sure the control interface functionality was
done on purpose that way, but regardless, it seems reasonable to do this
in wpa_supplicant.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux