summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/init.c
diff options
context:
space:
mode:
authorAmitkumar Karwar2012-09-19 00:33:32 +0200
committerJohn W. Linville2012-09-24 21:02:04 +0200
commit9a17bad1c7cc794b8faa50386495b6b9c91673e4 (patch)
tree376af00d31db4931135c5cef2c55dc1b31cd3292 /drivers/net/wireless/mwifiex/init.c
parentrt2x00: Clean up RFCSR1 programming in rt2800_config_channel_rf3xxx. (diff)
downloadkernel-qcow2-linux-9a17bad1c7cc794b8faa50386495b6b9c91673e4.tar.gz
kernel-qcow2-linux-9a17bad1c7cc794b8faa50386495b6b9c91673e4.tar.xz
kernel-qcow2-linux-9a17bad1c7cc794b8faa50386495b6b9c91673e4.zip
mwifiex: fix issue in resumed scan operation
When delayed scan operation is resumed, we just add next scan command in queue but don't wakeup main thread to process the command. Hence the command is downloaded to firmware only after waking up the main thread by any other means. This bug which was introduced after "mwifiex: improve scan delay logic.." patch is fixed here. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/init.c')
-rw-r--r--drivers/net/wireless/mwifiex/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c
index 9c1549ee4c09..b2ba262f8a13 100644
--- a/drivers/net/wireless/mwifiex/init.c
+++ b/drivers/net/wireless/mwifiex/init.c
@@ -118,6 +118,7 @@ static void scan_delay_timer_fn(unsigned long data)
mwifiex_insert_cmd_to_pending_q(adapter, cmd_node,
true);
+ queue_work(adapter->workqueue, &adapter->main_work);
goto done;
}
} else {