diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
| -rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index 267eb8935902..0a5d7cf25196 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
| @@ -398,7 +398,7 @@ bool iwl_good_plcp_health(struct iwl_priv *priv, | |||
| 398 | } | 398 | } |
| 399 | EXPORT_SYMBOL(iwl_good_plcp_health); | 399 | EXPORT_SYMBOL(iwl_good_plcp_health); |
| 400 | 400 | ||
| 401 | static void iwl_recover_from_statistics(struct iwl_priv *priv, | 401 | void iwl_recover_from_statistics(struct iwl_priv *priv, |
| 402 | struct iwl_rx_packet *pkt) | 402 | struct iwl_rx_packet *pkt) |
| 403 | { | 403 | { |
| 404 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) | 404 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) |
| @@ -413,9 +413,11 @@ static void iwl_recover_from_statistics(struct iwl_priv *priv, | |||
| 413 | */ | 413 | */ |
| 414 | IWL_ERR(priv, "low ack count detected, " | 414 | IWL_ERR(priv, "low ack count detected, " |
| 415 | "restart firmware\n"); | 415 | "restart firmware\n"); |
| 416 | iwl_force_reset(priv, IWL_FW_RESET); | 416 | if (!iwl_force_reset(priv, IWL_FW_RESET)) |
| 417 | return; | ||
| 417 | } | 418 | } |
| 418 | } else if (priv->cfg->ops->lib->check_plcp_health) { | 419 | } |
| 420 | if (priv->cfg->ops->lib->check_plcp_health) { | ||
| 419 | if (!priv->cfg->ops->lib->check_plcp_health( | 421 | if (!priv->cfg->ops->lib->check_plcp_health( |
| 420 | priv, pkt)) { | 422 | priv, pkt)) { |
| 421 | /* | 423 | /* |
| @@ -427,6 +429,7 @@ static void iwl_recover_from_statistics(struct iwl_priv *priv, | |||
| 427 | } | 429 | } |
| 428 | } | 430 | } |
| 429 | } | 431 | } |
| 432 | EXPORT_SYMBOL(iwl_recover_from_statistics); | ||
| 430 | 433 | ||
| 431 | void iwl_rx_statistics(struct iwl_priv *priv, | 434 | void iwl_rx_statistics(struct iwl_priv *priv, |
| 432 | struct iwl_rx_mem_buffer *rxb) | 435 | struct iwl_rx_mem_buffer *rxb) |
