aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c3
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.c2
5 files changed, 1 insertions, 10 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index d3d9b189fd83..a491ba5bb5c3 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -1087,7 +1087,6 @@ static void rt2400pci_fill_rxdone(struct queue_entry *entry,
1087 rt2x00_desc_read(priv_rx->desc, 2, &word2); 1087 rt2x00_desc_read(priv_rx->desc, 2, &word2);
1088 rt2x00_desc_read(priv_rx->desc, 3, &word3); 1088 rt2x00_desc_read(priv_rx->desc, 3, &word3);
1089 1089
1090 rxdesc->flags = 0;
1091 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) 1090 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR))
1092 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; 1091 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC;
1093 if (rt2x00_get_field32(word0, RXD_W0_PHYSICAL_ERROR)) 1092 if (rt2x00_get_field32(word0, RXD_W0_PHYSICAL_ERROR))
@@ -1103,7 +1102,7 @@ static void rt2400pci_fill_rxdone(struct queue_entry *entry,
1103 entry->queue->rt2x00dev->rssi_offset; 1102 entry->queue->rt2x00dev->rssi_offset;
1104 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); 1103 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1105 1104
1106 rxdesc->dev_flags = RXDONE_SIGNAL_PLCP; 1105 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP;
1107 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) 1106 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS))
1108 rxdesc->dev_flags |= RXDONE_MY_BSS; 1107 rxdesc->dev_flags |= RXDONE_MY_BSS;
1109} 1108}
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index 7de7980738f1..805781306dd1 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -1242,7 +1242,6 @@ static void rt2500pci_fill_rxdone(struct queue_entry *entry,
1242 rt2x00_desc_read(priv_rx->desc, 0, &word0); 1242 rt2x00_desc_read(priv_rx->desc, 0, &word0);
1243 rt2x00_desc_read(priv_rx->desc, 2, &word2); 1243 rt2x00_desc_read(priv_rx->desc, 2, &word2);
1244 1244
1245 rxdesc->flags = 0;
1246 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) 1245 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR))
1247 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; 1246 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC;
1248 if (rt2x00_get_field32(word0, RXD_W0_PHYSICAL_ERROR)) 1247 if (rt2x00_get_field32(word0, RXD_W0_PHYSICAL_ERROR))
@@ -1259,7 +1258,6 @@ static void rt2500pci_fill_rxdone(struct queue_entry *entry,
1259 entry->queue->rt2x00dev->rssi_offset; 1258 entry->queue->rt2x00dev->rssi_offset;
1260 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); 1259 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1261 1260
1262 rxdesc->dev_flags = 0;
1263 if (rt2x00_get_field32(word0, RXD_W0_OFDM)) 1261 if (rt2x00_get_field32(word0, RXD_W0_OFDM))
1264 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; 1262 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP;
1265 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) 1263 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS))
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
index 6fe713a1d758..0bf9ab3da5e6 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c
@@ -1149,7 +1149,6 @@ static void rt2500usb_fill_rxdone(struct queue_entry *entry,
1149 rt2x00_desc_read(rxd, 0, &word0); 1149 rt2x00_desc_read(rxd, 0, &word0);
1150 rt2x00_desc_read(rxd, 1, &word1); 1150 rt2x00_desc_read(rxd, 1, &word1);
1151 1151
1152 rxdesc->flags = 0;
1153 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) 1152 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR))
1154 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; 1153 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC;
1155 if (rt2x00_get_field32(word0, RXD_W0_PHYSICAL_ERROR)) 1154 if (rt2x00_get_field32(word0, RXD_W0_PHYSICAL_ERROR))
@@ -1166,7 +1165,6 @@ static void rt2500usb_fill_rxdone(struct queue_entry *entry,
1166 entry->queue->rt2x00dev->rssi_offset; 1165 entry->queue->rt2x00dev->rssi_offset;
1167 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); 1166 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1168 1167
1169 rxdesc->dev_flags = 0;
1170 if (rt2x00_get_field32(word0, RXD_W0_OFDM)) 1168 if (rt2x00_get_field32(word0, RXD_W0_OFDM))
1171 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; 1169 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP;
1172 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) 1170 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS))
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index d01d5f16bbce..2e5e45cbd2e5 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -1668,7 +1668,6 @@ static void rt61pci_fill_rxdone(struct queue_entry *entry,
1668 rt2x00_desc_read(priv_rx->desc, 0, &word0); 1668 rt2x00_desc_read(priv_rx->desc, 0, &word0);
1669 rt2x00_desc_read(priv_rx->desc, 1, &word1); 1669 rt2x00_desc_read(priv_rx->desc, 1, &word1);
1670 1670
1671 rxdesc->flags = 0;
1672 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) 1671 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR))
1673 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; 1672 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC;
1674 1673
@@ -1682,7 +1681,6 @@ static void rt61pci_fill_rxdone(struct queue_entry *entry,
1682 rxdesc->rssi = rt61pci_agc_to_rssi(entry->queue->rt2x00dev, word1); 1681 rxdesc->rssi = rt61pci_agc_to_rssi(entry->queue->rt2x00dev, word1);
1683 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); 1682 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1684 1683
1685 rxdesc->dev_flags = 0;
1686 if (rt2x00_get_field32(word0, RXD_W0_OFDM)) 1684 if (rt2x00_get_field32(word0, RXD_W0_OFDM))
1687 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; 1685 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP;
1688 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) 1686 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS))
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c
index bc44116a8a3e..5d70dd840c15 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.c
+++ b/drivers/net/wireless/rt2x00/rt73usb.c
@@ -1423,7 +1423,6 @@ static void rt73usb_fill_rxdone(struct queue_entry *entry,
1423 rt2x00_desc_read(rxd, 0, &word0); 1423 rt2x00_desc_read(rxd, 0, &word0);
1424 rt2x00_desc_read(rxd, 1, &word1); 1424 rt2x00_desc_read(rxd, 1, &word1);
1425 1425
1426 rxdesc->flags = 0;
1427 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) 1426 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR))
1428 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; 1427 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC;
1429 1428
@@ -1437,7 +1436,6 @@ static void rt73usb_fill_rxdone(struct queue_entry *entry,
1437 rxdesc->rssi = rt73usb_agc_to_rssi(entry->queue->rt2x00dev, word1); 1436 rxdesc->rssi = rt73usb_agc_to_rssi(entry->queue->rt2x00dev, word1);
1438 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); 1437 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1439 1438
1440 rxdesc->dev_flags = 0;
1441 if (rt2x00_get_field32(word0, RXD_W0_OFDM)) 1439 if (rt2x00_get_field32(word0, RXD_W0_OFDM))
1442 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; 1440 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP;
1443 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) 1441 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS))