wifi: Balance scanning states
authorMohamed Abbas <mabbas@linux.intel.com>
Tue, 25 Jan 2011 23:31:54 +0000 (00:31 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 25 Jan 2011 23:31:54 +0000 (00:31 +0100)
commit15a1cf2d279ff7a2e8bf85e8a52cfec1cde0e525
tree755bf94740630a560d11dc20caeadbd1e3fa3aaa
parentaf54367c8b1fb235605071427c08ae688c386374
wifi: Balance scanning states

By setting the scan state to TRUE from wifi_scan() and setting it back
to FALSE in the callback, the wifi device scanning state is consistent.

Fixes BMC#12104
include/device.h
plugins/wifi.c
src/device.c