Allow add-BSS operation to re-use existing netdev
When removing and re-adding the first wlan# netdev to hostapd dynamically, the netdev is already present and should not be removed and re-added to maintain its state as not-added-by-hostapd so that it does not get removed automatically. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
5592065850
commit
2aec4f3c0c
7 changed files with 45 additions and 26 deletions
|
@ -48,7 +48,7 @@ int hostapd_set_ssid(struct hostapd_data *hapd, const u8 *buf, size_t len);
|
|||
int hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type,
|
||||
const char *ifname, const u8 *addr, void *bss_ctx,
|
||||
void **drv_priv, char *force_ifname, u8 *if_addr,
|
||||
const char *bridge);
|
||||
const char *bridge, int use_existing);
|
||||
int hostapd_if_remove(struct hostapd_data *hapd, enum wpa_driver_if_type type,
|
||||
const char *ifname);
|
||||
int hostapd_set_ieee8021x(struct hostapd_data *hapd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue