diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index 67bae36ecddf..a6b0484d5816 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -594,16 +594,16 @@ static void rt2800usb_fill_rxdone(struct queue_entry *entry, | |||
594 | rt2x00_desc_read(rxwi, 2, &rxwi2); | 594 | rt2x00_desc_read(rxwi, 2, &rxwi2); |
595 | rt2x00_desc_read(rxwi, 3, &rxwi3); | 595 | rt2x00_desc_read(rxwi, 3, &rxwi3); |
596 | 596 | ||
597 | if (rt2x00_get_field32(rxd0, RXD_W0_CRC_ERROR)) | 597 | if (rt2x00_get_field32(rxd0, RXINFO_W0_CRC_ERROR)) |
598 | rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; | 598 | rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; |
599 | 599 | ||
600 | if (test_bit(CONFIG_SUPPORT_HW_CRYPTO, &rt2x00dev->flags)) { | 600 | if (test_bit(CONFIG_SUPPORT_HW_CRYPTO, &rt2x00dev->flags)) { |
601 | rxdesc->cipher = rt2x00_get_field32(rxwi0, RXWI_W0_UDF); | 601 | rxdesc->cipher = rt2x00_get_field32(rxwi0, RXWI_W0_UDF); |
602 | rxdesc->cipher_status = | 602 | rxdesc->cipher_status = |
603 | rt2x00_get_field32(rxd0, RXD_W0_CIPHER_ERROR); | 603 | rt2x00_get_field32(rxd0, RXINFO_W0_CIPHER_ERROR); |
604 | } | 604 | } |
605 | 605 | ||
606 | if (rt2x00_get_field32(rxd0, RXD_W0_DECRYPTED)) { | 606 | if (rt2x00_get_field32(rxd0, RXINFO_W0_DECRYPTED)) { |
607 | /* | 607 | /* |
608 | * Hardware has stripped IV/EIV data from 802.11 frame during | 608 | * Hardware has stripped IV/EIV data from 802.11 frame during |
609 | * decryption. Unfortunately the descriptor doesn't contain | 609 | * decryption. Unfortunately the descriptor doesn't contain |
@@ -618,10 +618,10 @@ static void rt2800usb_fill_rxdone(struct queue_entry *entry, | |||
618 | rxdesc->flags |= RX_FLAG_MMIC_ERROR; | 618 | rxdesc->flags |= RX_FLAG_MMIC_ERROR; |
619 | } | 619 | } |
620 | 620 | ||
621 | if (rt2x00_get_field32(rxd0, RXD_W0_MY_BSS)) | 621 | if (rt2x00_get_field32(rxd0, RXINFO_W0_MY_BSS)) |
622 | rxdesc->dev_flags |= RXDONE_MY_BSS; | 622 | rxdesc->dev_flags |= RXDONE_MY_BSS; |
623 | 623 | ||
624 | if (rt2x00_get_field32(rxd0, RXD_W0_L2PAD)) { | 624 | if (rt2x00_get_field32(rxd0, RXINFO_W0_L2PAD)) { |
625 | rxdesc->dev_flags |= RXDONE_L2PAD; | 625 | rxdesc->dev_flags |= RXDONE_L2PAD; |
626 | skbdesc->flags |= SKBDESC_L2_PADDED; | 626 | skbdesc->flags |= SKBDESC_L2_PADDED; |
627 | } | 627 | } |