OSDN Git Service

iwlwifi: trans: prevent tx and cmds during FW error
authorArik Nemtsov <arik@wizery.com>
Sun, 1 Dec 2013 11:02:18 +0000 (13:02 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 17 Dec 2013 17:39:48 +0000 (19:39 +0200)
commit3fc07953bae891c6adb08ef594cc9c527804c9c3
tree77a6eeddec0612d4933177295d8bba6d754db789
parenteb7ff77edd391f215deee3ee5d957c857121cd72
iwlwifi: trans: prevent tx and cmds during FW error

Stop Tx and commands from arriving to the transport layer when a FW
error has occurred. A HW recovery should take place before. Remove
transport specific checks of the same nature (note that not all
transports were protected).

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/pcie/tx.c