diff options
| -rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index b247a56d5135..001fdf140abb 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
| @@ -1755,16 +1755,6 @@ static inline int iwl_check_stuck_queue(struct iwl_priv *priv, int txq) | |||
| 1755 | { | 1755 | { |
| 1756 | if (iwl_trans_check_stuck_queue(trans(priv), txq)) { | 1756 | if (iwl_trans_check_stuck_queue(trans(priv), txq)) { |
| 1757 | int ret; | 1757 | int ret; |
| 1758 | if (txq == priv->shrd->cmd_queue) { | ||
| 1759 | /* | ||
| 1760 | * validate command queue still working | ||
| 1761 | * by sending "ECHO" command | ||
| 1762 | */ | ||
| 1763 | if (!iwl_cmd_echo_test(priv)) | ||
| 1764 | return 0; | ||
| 1765 | else | ||
| 1766 | IWL_DEBUG_HC(priv, "echo testing fail\n"); | ||
| 1767 | } | ||
| 1768 | ret = iwl_force_reset(priv, IWL_FW_RESET, false); | 1758 | ret = iwl_force_reset(priv, IWL_FW_RESET, false); |
| 1769 | return (ret == -EAGAIN) ? 0 : 1; | 1759 | return (ret == -EAGAIN) ? 0 : 1; |
| 1770 | } | 1760 | } |
