Allow add-BSS operation to re-use existing netdev
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 31 Oct 2013 17:41:42 +0000 (19:41 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 31 Oct 2013 20:34:25 +0000 (22:34 +0200)
commit2aec4f3c0ce305448267e60f4a2dc2c3c8f2e8f6
treee7c20917401a88796830c3cc7521c48b753fef1c
parent5592065850a40e235020dba79e5592b949b829b8
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>
src/ap/ap_drv_ops.c
src/ap/ap_drv_ops.h
src/ap/hostapd.c
src/drivers/driver.h
src/drivers/driver_nl80211.c
src/drivers/driver_test.c
wpa_supplicant/driver_i.h