aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c
index 092d3276175a..353d9a2ddbca 100644
--- a/drivers/net/wireless/iwlwifi/iwl-rx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-rx.c
@@ -539,7 +539,8 @@ void iwl_rx_statistics(struct iwl_priv *priv,
539 struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; 539 struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data;
540 540
541 IWL_DEBUG_RX(priv, "Statistics notification received (%d vs %d).\n", 541 IWL_DEBUG_RX(priv, "Statistics notification received (%d vs %d).\n",
542 (int)sizeof(priv->statistics), pkt->len); 542 (int)sizeof(priv->statistics),
543 le32_to_cpu(pkt->len_n_flags) & FH_RSCSR_FRAME_SIZE_MSK);
543 544
544 change = ((priv->statistics.general.temperature != 545 change = ((priv->statistics.general.temperature !=
545 pkt->u.stats.general.temperature) || 546 pkt->u.stats.general.temperature) ||