iwlwifi: pcie: restart the driver when a command times out
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 11 Sep 2013 11:16:20 +0000 (14:16 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Oct 2013 07:56:57 +0000 (09:56 +0200)
commit42550a53db232383ffe8d0c7d0ae9e72e2ca986b
tree26fc37a8330b355cba69bf2004cd9aa87e3956d4
parentd1d5e3cda07fc8ddc6c9dc768eca50c17d675abc
iwlwifi: pcie: restart the driver when a command times out

This should really not happen. If it does, restarting is the
only way to recover since the driver and the firmware might
very well be out of sync. Moreover, iwl_op_mode_nic_error
will print data that might help debugging.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c