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)
commitfba1c62766340d3a6736c616a36494abb700dae8
treeaa0e3b69475182a0cd519529c73d155520c7f30f
parent3dc3374fcebe30fefebf1fdce660d33b3e2bd0f9
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