Restore hapd->interface_added tracking to core hostapd
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 5 Nov 2013 23:38:17 +0000 (01:38 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Nov 2013 23:38:17 +0000 (01:38 +0200)
commit6023a7880b9837d97d12d7a61f212ec6ddfe1af7
tree66843234e29703b7115dafa20e1b4b91eaa0b8c7
parent486d2ff0eb3d20798debdb7e34b5c2ff77d18bab
Restore hapd->interface_added tracking to core hostapd

This reverts parts of commit 390e489c0d9415caf103367136eaa534b559837c
that tried to enable removal of the first BSS. Since that operation is
now forced to remove all BSSs, these changes are not needed. The
hostapd_if_remove() operation in hostapd_free_hapd_data() is problematic
for the first BSS since it ends up freeing driver wrapper information
that is needed later when deinitializing the driver wrapper.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/hostapd.c
src/ap/hostapd.h