iwlegacy: add il_{stop,wake}_queues_by_reason functions
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 12 Jun 2013 14:44:48 +0000 (16:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 19:06:56 +0000 (15:06 -0400)
commitc6af8074fd3654b2a8d7b31304d686519b062e14
treee16bf5725825ba7ac83013811ea3ff9b1f0ff4ef
parent42ce8943e14734dd388e6934fff31a11c1adad8f
iwlegacy: add il_{stop,wake}_queues_by_reason functions

Add functions that will stop/wake all queues. Make them safe
regarding multiple calls and when some ac are stopped/woke
independently.

Tested-by: Jake Edge <jake@lwn.net>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/common.h