]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit227bf01e8b12d074cef420fcd5320ff2feaa926f
tree5f43d03b93513720d843099098c56aa9f16b2c91
parent913ac2d8a4ed255b1025b216be81133689882a07
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