diff options
author | Arik Nemtsov | 2013-12-01 13:50:40 +0200 |
---|---|---|
committer | Emmanuel Grumbach | 2013-12-17 19:39:50 +0200 |
commit | 2a988e98085a76c1a238442e67e53874944cb353 (patch) | |
tree | 57d23374a6823e476d89ffd08535c91e69898f8c /drivers/hwspinlock/u8500_hsem.c | |
parent | 8c678ed4665d9c6452279b770eb43feed32ca3e8 (diff) |
iwlwifi: trans: prevent reprobe on repeated FW errors before restart
In case a sync command timeouts or Tx is stuck while a FW error
interrupt arrives, we might call iwl_op_mode_nic_error twice before
a restart has been initiated. This will cause a reprobe. Unify calls
to this function at the transport level and only call it on the first
FW error in a given by checking the transport FW error flag.
While at it, remove the privately defined iwl_nic_error from PCIE code
and use the common callback instead.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/hwspinlock/u8500_hsem.c')
0 files changed, 0 insertions, 0 deletions