hostapd: Avoid sending client probe on removed client
authorPeter Oh <poh@qca.qualcomm.com>
Mon, 9 Feb 2015 21:23:53 +0000 (13:23 -0800)
committerJouni Malinen <j@w1.fi>
Tue, 10 Feb 2015 20:21:03 +0000 (22:21 +0200)
commit47e5fbde442e4105bd10e42703e4d820f6ad3b43
treecdbe060eac7794250f1057edf7d810ed17eb2200
parent34782730c09820f8cc17b9bf9327cfdfdb5adcaf
hostapd: Avoid sending client probe on removed client

Sending client probe on already removed client from kernel driver does
not have any benefit and may lead unintended behavior among variable
drivers (mac80211 has a WARN_ON() that could have been triggered after
ifconfig down+up earlier when hostapd did not re-enable beaconing on
ifup). Skip this step in discussion when the kernel driver reports that
client entry is removed.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
src/ap/sta_info.c