Flush the BSS (scan) entries when an interface becomes disabled
authorMoshe Benji <Moshe.Benji@intel.com>
Mon, 5 Sep 2016 14:32:55 +0000 (17:32 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 22 Sep 2016 20:31:19 +0000 (23:31 +0300)
commit14220fe64c4e8180380d9fd15a985aa699b00e2f
tree21b1d4eb03254ea95942265eece90a32993fee61
parentb223b55345f73936f9454ec264013b3a4f7a9c9c
Flush the BSS (scan) entries when an interface becomes disabled

When an interface becomes disabled (e.g., when RF-kill becomes blocked)
we should clear the stored scan results to avoid maintaining stale
information.

Fix this by flushing the BSS entries when an interface becomes
disabled.

Signed-off-by: Moshe Benji <moshe.benji@intel.com>
wpa_supplicant/events.c