From: Arik Nemtsov Date: Sun, 1 Dec 2013 11:50:40 +0000 (+0200) Subject: iwlwifi: trans: prevent reprobe on repeated FW errors before restart X-Git-Tag: v3.14-rc1~94^2~334^2^2~54^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a988e98085a76c1a238442e67e53874944cb353;p=pandora-kernel.git 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 Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed