diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-18 00:09:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-18 00:09:11 -0400 |
commit | 820ae8a80eb59962aefbbd4908dfe144ec0f9edb (patch) | |
tree | 6c0f7356afff14e1c7d266de644810cd2de7caa9 /drivers/net/wireless/iwlwifi/iwl-rx.c | |
parent | 380fefb2ddabd4cd5f14dbe090481f0544e65078 (diff) | |
parent | 6fe70aae0d128339febfabc073ba4c4a03de4f45 (diff) |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
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) |