diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index aea5cf41f4b..e1189847360 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -285,7 +285,7 @@ static void iwl_rx_calc_noise(struct iwl_priv *priv) | |||
285 | last_rx_noise); | 285 | last_rx_noise); |
286 | } | 286 | } |
287 | 287 | ||
288 | #ifdef CONFIG_IWLWIFI_DEBUG | 288 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
289 | /* | 289 | /* |
290 | * based on the assumption of all statistics counter are in DWORD | 290 | * based on the assumption of all statistics counter are in DWORD |
291 | * FIXME: This function is for debugging, do not deal with | 291 | * FIXME: This function is for debugging, do not deal with |
@@ -447,7 +447,7 @@ void iwl_rx_statistics(struct iwl_priv *priv, | |||
447 | STATISTICS_REPLY_FLG_HT40_MODE_MSK) != | 447 | STATISTICS_REPLY_FLG_HT40_MODE_MSK) != |
448 | (pkt->u.stats.flag & STATISTICS_REPLY_FLG_HT40_MODE_MSK))); | 448 | (pkt->u.stats.flag & STATISTICS_REPLY_FLG_HT40_MODE_MSK))); |
449 | 449 | ||
450 | #ifdef CONFIG_IWLWIFI_DEBUG | 450 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
451 | iwl_accumulative_statistics(priv, (__le32 *)&pkt->u.stats); | 451 | iwl_accumulative_statistics(priv, (__le32 *)&pkt->u.stats); |
452 | #endif | 452 | #endif |
453 | iwl_recover_from_statistics(priv, pkt); | 453 | iwl_recover_from_statistics(priv, pkt); |
@@ -480,7 +480,7 @@ void iwl_reply_statistics(struct iwl_priv *priv, | |||
480 | struct iwl_rx_packet *pkt = rxb_addr(rxb); | 480 | struct iwl_rx_packet *pkt = rxb_addr(rxb); |
481 | 481 | ||
482 | if (le32_to_cpu(pkt->u.stats.flag) & UCODE_STATISTICS_CLEAR_MSK) { | 482 | if (le32_to_cpu(pkt->u.stats.flag) & UCODE_STATISTICS_CLEAR_MSK) { |
483 | #ifdef CONFIG_IWLWIFI_DEBUG | 483 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
484 | memset(&priv->_agn.accum_statistics, 0, | 484 | memset(&priv->_agn.accum_statistics, 0, |
485 | sizeof(struct iwl_notif_statistics)); | 485 | sizeof(struct iwl_notif_statistics)); |
486 | memset(&priv->_agn.delta_statistics, 0, | 486 | memset(&priv->_agn.delta_statistics, 0, |