Call remove_network() on unsolicited disconnect
authorLucio Maciel <lucio.maciel@hp.com>
Tue, 21 Sep 2010 15:20:40 +0000 (17:20 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 21 Sep 2010 15:20:40 +0000 (17:20 +0200)
commitb2026562b838070a34970ce42e36b870b68adff1
tree260a3069344b5052ebe1c7ad9da7447696bfd56c
parent7b5f1ebe43750da6131ed2434bcaeb4c408af6d5
Call remove_network() on unsolicited disconnect

When receiving an unsolicited disconnect (turn-off the AP)
wpa_supplicant starts scanning every 5 seconds looking for the
previously connected ssid.

This causes the grow of the network list since connman will
not remove the unavailable networks if it is not the initiator of
the scan.
plugins/supplicant.c