diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 1f49561d3ddc..c58b1c0abc3c 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1076,12 +1076,13 @@ static void rt2400pci_fill_rxdone(struct queue_entry *entry, | |||
1076 | * of the preamble bit (0x08). | 1076 | * of the preamble bit (0x08). |
1077 | */ | 1077 | */ |
1078 | rxdesc->signal = rt2x00_get_field32(word2, RXD_W2_SIGNAL) & ~0x08; | 1078 | rxdesc->signal = rt2x00_get_field32(word2, RXD_W2_SIGNAL) & ~0x08; |
1079 | rxdesc->signal_plcp = 1; | ||
1080 | rxdesc->rssi = rt2x00_get_field32(word2, RXD_W3_RSSI) - | 1079 | rxdesc->rssi = rt2x00_get_field32(word2, RXD_W3_RSSI) - |
1081 | entry->queue->rt2x00dev->rssi_offset; | 1080 | entry->queue->rt2x00dev->rssi_offset; |
1082 | rxdesc->ofdm = 0; | ||
1083 | rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); | 1081 | rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); |
1084 | rxdesc->my_bss = !!rt2x00_get_field32(word0, RXD_W0_MY_BSS); | 1082 | |
1083 | rxdesc->dev_flags = RXDONE_SIGNAL_PLCP; | ||
1084 | if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) | ||
1085 | rxdesc->dev_flags |= RXDONE_MY_BSS; | ||
1085 | } | 1086 | } |
1086 | 1087 | ||
1087 | /* | 1088 | /* |