diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 720d234c9736..1d539e3b8db1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -494,7 +494,7 @@ static void iwl5000_rx_calib_result(struct iwl_priv *priv, | |||
494 | { | 494 | { |
495 | struct iwl_rx_packet *pkt = (void *)rxb->skb->data; | 495 | struct iwl_rx_packet *pkt = (void *)rxb->skb->data; |
496 | struct iwl_calib_hdr *hdr = (struct iwl_calib_hdr *)pkt->u.raw; | 496 | struct iwl_calib_hdr *hdr = (struct iwl_calib_hdr *)pkt->u.raw; |
497 | int len = le32_to_cpu(pkt->len) & FH_RSCSR_FRAME_SIZE_MSK; | 497 | int len = le32_to_cpu(pkt->len_n_flags) & FH_RSCSR_FRAME_SIZE_MSK; |
498 | int index; | 498 | int index; |
499 | 499 | ||
500 | /* reduce the size of the length field itself */ | 500 | /* reduce the size of the length field itself */ |