mwifiex: don't disable wait_q_enabled flag
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 28 Aug 2012 03:32:52 +0000 (20:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 Sep 2012 19:03:41 +0000 (15:03 -0400)
commite3a8e0b4358ec7f42c2ae362376543f8d6a32058
tree64f9d1a212c7028df11b0e2714daa37540837ade
parent26fc36ab756d305274f056755705478dc4dda521
mwifiex: don't disable wait_q_enabled flag

We should not disable "cmd_node->wait_q_enabled" flag here before
calling mwifiex_insert_cmd_to_free_q() because we want to wake up
the thread waiting for command completion inside this function.

The wait_q_enabled flag will be disabled internally upon command
completion.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/init.c