Fix removal of a BSS that has not yet been fully initialized
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 5 Nov 2013 22:57:38 +0000 (00:57 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Nov 2013 22:57:38 +0000 (00:57 +0200)
commitcdf3fb1f1ca969c5c14ee148aa54e5ee4e7743a7
treeceee0be056446b4148f327db5ad76958944a3660
parent2f99d907266edc2e2cf73a044943448d5fc164eb
Fix removal of a BSS that has not yet been fully initialized

If a secondary BSS is removed while it is waiting for the primary BSS to
complete channel setup (e.g., due to HT co-ex scan, ACS, or DFS), the
hostapd_data instance has not yet been initialized. Fix the BSS removal
code to take this special case into account and not try to deinitialize
the hostapd_data instance that has not yet been started.

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