]> git.baikalelectronics.ru Git - kernel.git/commit
mwl8k: Handle watchdog event with highest prioriry
authorYogesh Ashok Powar <yogeshp@marvell.com>
Thu, 3 Jan 2013 07:54:19 +0000 (13:24 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:18:27 +0000 (15:18 -0500)
commit031f90e720a823b20e6edbbde84f3e76f700ff32
tree4efeb6ac8aeeb28d5a3c5104d355c5dacbb3b0c9
parent5e603c8741b758afed49858394d629335b1d45f0
mwl8k: Handle watchdog event with highest prioriry

Currently, command path waits till all the tx host queues
are empty. Whenever watchdog event is raised, firmware
expects driver to destroy ampdu queues immediately.

This requires corresponding commands i.e.
mwl8k_cmd_get_watchdog_bitmap and mwl8k_destroy_ba to be
sent without waiting for the tx queues to be completely
empty.

Use "watchdog_event_pending" to ensure the above mentioned
two commands are sent down immediately.

Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c