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 e002c8b56c49..98f014276e6d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -645,7 +645,7 @@ static void iwl_dbg_report_frame(struct iwl_priv *priv, | |||
645 | u32 tsf_low; | 645 | u32 tsf_low; |
646 | int rssi; | 646 | int rssi; |
647 | 647 | ||
648 | if (likely(!(iwl_debug_level & IWL_DL_RX))) | 648 | if (likely(!(iwl_get_debug_level(priv) & IWL_DL_RX))) |
649 | return; | 649 | return; |
650 | 650 | ||
651 | /* MAC header */ | 651 | /* MAC header */ |
@@ -741,7 +741,7 @@ static void iwl_dbg_report_frame(struct iwl_priv *priv, | |||
741 | } | 741 | } |
742 | } | 742 | } |
743 | if (print_dump) | 743 | if (print_dump) |
744 | iwl_print_hex_dump(IWL_DL_RX, header, length); | 744 | iwl_print_hex_dump(priv, IWL_DL_RX, header, length); |
745 | } | 745 | } |
746 | #endif | 746 | #endif |
747 | 747 | ||
@@ -1060,7 +1060,7 @@ void iwl_rx_reply_rx(struct iwl_priv *priv, | |||
1060 | 1060 | ||
1061 | /* Set "1" to report good data frames in groups of 100 */ | 1061 | /* Set "1" to report good data frames in groups of 100 */ |
1062 | #ifdef CONFIG_IWLWIFI_DEBUG | 1062 | #ifdef CONFIG_IWLWIFI_DEBUG |
1063 | if (unlikely(iwl_debug_level & IWL_DL_RX)) | 1063 | if (unlikely(iwl_get_debug_level(priv) & IWL_DL_RX)) |
1064 | iwl_dbg_report_frame(priv, rx_start, len, header, 1); | 1064 | iwl_dbg_report_frame(priv, rx_start, len, header, 1); |
1065 | #endif | 1065 | #endif |
1066 | IWL_DEBUG_STATS_LIMIT(priv, "Rssi %d, noise %d, qual %d, TSF %llu\n", | 1066 | IWL_DEBUG_STATS_LIMIT(priv, "Rssi %d, noise %d, qual %d, TSF %llu\n", |