]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: allow the op_mode to call stop_device whenever it wants
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 19 Dec 2013 20:19:17 +0000 (22:19 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 31 Dec 2013 17:03:45 +0000 (19:03 +0200)
commitb39bb13df81762eab6b95a48c3a614dd1a6e902b
treeaa0e3b69475182a0cd519529c73d155520c7f30f
parent39c92ba9c82727be02d830645e4f6650781fe201
iwlwifi: pcie: allow the op_mode to call stop_device whenever it wants

Calling stop_device when start_fw wasn't called would issue:
Stopping tx queues that aren't allocated...

Also allow the op_mode to call stop_device and then to
disable the Tx queues - in that case just silently ignore
the disabling on the Tx queues, since the PRPH registers
aren't reachable any more.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/pcie/tx.c