diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index b5a4d2ecdd2d..e9a685d8e3a1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -349,12 +349,13 @@ static void iwl3945_rx_reply_tx(struct iwl_priv *priv, | |||
349 | * | 349 | * |
350 | *****************************************************************************/ | 350 | *****************************************************************************/ |
351 | 351 | ||
352 | void iwl3945_hw_rx_statistics(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) | 352 | void iwl3945_hw_rx_statistics(struct iwl_priv *priv, |
353 | struct iwl_rx_mem_buffer *rxb) | ||
353 | { | 354 | { |
354 | struct iwl_rx_packet *pkt = (void *)rxb->skb->data; | 355 | struct iwl_rx_packet *pkt = (void *)rxb->skb->data; |
355 | IWL_DEBUG_RX(priv, "Statistics notification received (%d vs %d).\n", | 356 | IWL_DEBUG_RX(priv, "Statistics notification received (%d vs %d).\n", |
356 | (int)sizeof(struct iwl3945_notif_statistics), | 357 | (int)sizeof(struct iwl3945_notif_statistics), |
357 | le32_to_cpu(pkt->len)); | 358 | le32_to_cpu(pkt->len_n_flags) & FH_RSCSR_FRAME_SIZE_MSK); |
358 | 359 | ||
359 | memcpy(&priv->statistics_39, pkt->u.raw, sizeof(priv->statistics_39)); | 360 | memcpy(&priv->statistics_39, pkt->u.raw, sizeof(priv->statistics_39)); |
360 | 361 | ||