aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt61pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index e20dd7431f21..f4b4b86da4da 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -530,7 +530,7 @@ static void rt61pci_config_filter(struct rt2x00_dev *rt2x00dev,
530 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_PHYSICAL, 530 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_PHYSICAL,
531 !(filter_flags & FIF_PLCPFAIL)); 531 !(filter_flags & FIF_PLCPFAIL));
532 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_CONTROL, 532 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_CONTROL,
533 !(filter_flags & FIF_CONTROL)); 533 !(filter_flags & (FIF_CONTROL | FIF_PSPOLL)));
534 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_NOT_TO_ME, 534 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_NOT_TO_ME,
535 !(filter_flags & FIF_PROMISC_IN_BSS)); 535 !(filter_flags & FIF_PROMISC_IN_BSS));
536 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_TO_DS, 536 rt2x00_set_field32(&reg, TXRX_CSR0_DROP_TO_DS,
@@ -1855,8 +1855,6 @@ static void rt61pci_write_beacon(struct queue_entry *entry)
1855 * otherwise we might be sending out invalid data. 1855 * otherwise we might be sending out invalid data.
1856 */ 1856 */
1857 rt2x00pci_register_read(rt2x00dev, TXRX_CSR9, &reg); 1857 rt2x00pci_register_read(rt2x00dev, TXRX_CSR9, &reg);
1858 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_TICKING, 0);
1859 rt2x00_set_field32(&reg, TXRX_CSR9_TBTT_ENABLE, 0);
1860 rt2x00_set_field32(&reg, TXRX_CSR9_BEACON_GEN, 0); 1858 rt2x00_set_field32(&reg, TXRX_CSR9_BEACON_GEN, 0);
1861 rt2x00pci_register_write(rt2x00dev, TXRX_CSR9, reg); 1859 rt2x00pci_register_write(rt2x00dev, TXRX_CSR9, reg);
1862 1860
@@ -2624,6 +2622,12 @@ static int rt61pci_probe_hw(struct rt2x00_dev *rt2x00dev)
2624 return retval; 2622 return retval;
2625 2623
2626 /* 2624 /*
2625 * This device has multiple filters for control frames,
2626 * but has no a separate filter for PS Poll frames.
2627 */
2628 __set_bit(DRIVER_SUPPORT_CONTROL_FILTERS, &rt2x00dev->flags);
2629
2630 /*
2627 * This device requires firmware and DMA mapped skbs. 2631 * This device requires firmware and DMA mapped skbs.
2628 */ 2632 */
2629 __set_bit(DRIVER_REQUIRE_FIRMWARE, &rt2x00dev->flags); 2633 __set_bit(DRIVER_REQUIRE_FIRMWARE, &rt2x00dev->flags);