diff options
author | Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> | 2010-04-09 13:07:55 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-09 13:43:11 -0400 |
commit | 68dd5b7a45d1935fcd32b786e8d3d3f7bb4bbfe7 (patch) | |
tree | f3474311eea60bdf71612770dd7311e66749f6c5 /drivers/regulator/tps6507x-regulator.c | |
parent | 00236aedf1d2c49a18ae9ea00698d97705ff7289 (diff) | |
download | kernel_samsung_tuna-68dd5b7a45d1935fcd32b786e8d3d3f7bb4bbfe7.zip kernel_samsung_tuna-68dd5b7a45d1935fcd32b786e8d3d3f7bb4bbfe7.tar.gz kernel_samsung_tuna-68dd5b7a45d1935fcd32b786e8d3d3f7bb4bbfe7.tar.bz2 |
mac80211: check whether scan is in progress before queueing scan_work
As scan_work is queued from work_work it needs to be checked if scan
has been started during execution of work_work. Otherwise, when hw
scan is used, the stack gets error about hw being busy with ongoing
scan. This causes the stack to abort scan without notifying the driver
about it. This leads to a situation where the hw is scanning and the stack
thinks it's not. Then when the scan finishes, the stack will complain by
warnings.
Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/regulator/tps6507x-regulator.c')
0 files changed, 0 insertions, 0 deletions