nl80211: Free BSS structure even if netdev does not exists
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 22 Oct 2013 10:35:32 +0000 (13:35 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 22 Oct 2013 10:35:32 +0000 (13:35 +0300)
commit2b72df6374166bdc0fcf868646f87ad70b1f2dcd
tree035ccabae7b504a05910b14d7302caf1f5066297
parent41cc50d19ef3967ced33eaee3a96f07a3089f8b9
nl80211: Free BSS structure even if netdev does not exists

It is possible for a vif netdev to be removed by something else than
hostapd and if that happens for a virtual AP interface, if_remove()
handler should still free the local data structure to avoid memory leaks
if something external removes a netdev.

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