iwlwifi: avoid read/write operations if the bus is dead
authorEliad Peller <eliad@wizery.com>
Thu, 10 Sep 2015 12:00:22 +0000 (15:00 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 25 Oct 2015 11:45:05 +0000 (13:45 +0200)
commit053225de121a950b94a1989802c22895797ffbfc
tree5f43d03b93513720d843099098c56aa9f16b2c91
parentcd55ccea5978d7e87852be3ea5daf89c95b7e78a
iwlwifi: avoid read/write operations if the bus is dead

Recovery takes too much time if the bus is dead (each timeout
is 2000ms, etc.).
Explicitly skip fw dump in this case, as it will result in
garbage data (and might take signifcant time)

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/mvm/mac80211.c