wifi: Reset autoscan timer on a new scan
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 15 Jun 2012 11:13:48 +0000 (14:13 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 18 Jun 2012 07:59:27 +0000 (10:59 +0300)
commit12c4d5c3b438d12c6ec60524edb474fb8312c0c6
tree7cd2bea7c300cd39ce298f4999158811a853cae8
parente28dffca0bf6a1d0dcc69e4abb52a22e0b0578be
wifi: Reset autoscan timer on a new scan

Setting device scanning to false will clean up all networks not
seen so far. If a user scan happens to be requested while the
emulated background scan is running, the background scan will
be cancelled and the non-discovered networks cleared. This causes
unnecessary clearing and re-discovery of WiFi networks when the
user scan is completed.

Create a reset autoscan function that will only reset the autoscan
parameters and not set device scanning to false. Call this function
when starting a scan.
plugins/wifi.c