mac80211: remove disconnected APs from BSS table
authorDavid Spinadel <david.spinadel@intel.com>
Tue, 3 May 2016 13:05:02 +0000 (16:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 May 2016 09:14:23 +0000 (11:14 +0200)
commit20eb7ea93f7ffaaa24b19b8bfc411b1f7605759f
tree6cc8b54ed8980c2f44e9400e2e4503795cf15643
parent866daf6eaae36b414764c4830ed197da9801a361
mac80211: remove disconnected APs from BSS table

In some cases, after a sudden AP disappearing and reconnection to
another AP in the same ESS, user space gets the old AP in scan
results (cached). User space may decide to roam to that old AP
which will cause a disconnection and longer recovery.
Remove APs that are probably out of range from BSS table.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c