diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index bf04605896c7..687e17dc2e9f 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2546,7 +2546,6 @@ static int rt61pci_probe_hw_mode(struct rt2x00_dev *rt2x00dev) | |||
2546 | IEEE80211_HW_SIGNAL_DBM | | 2546 | IEEE80211_HW_SIGNAL_DBM | |
2547 | IEEE80211_HW_SUPPORTS_PS | | 2547 | IEEE80211_HW_SUPPORTS_PS | |
2548 | IEEE80211_HW_PS_NULLFUNC_STACK; | 2548 | IEEE80211_HW_PS_NULLFUNC_STACK; |
2549 | rt2x00dev->hw->extra_tx_headroom = 0; | ||
2550 | 2549 | ||
2551 | SET_IEEE80211_DEV(rt2x00dev->hw, rt2x00dev->dev); | 2550 | SET_IEEE80211_DEV(rt2x00dev->hw, rt2x00dev->dev); |
2552 | SET_IEEE80211_PERM_ADDR(rt2x00dev->hw, | 2551 | SET_IEEE80211_PERM_ADDR(rt2x00dev->hw, |
@@ -2788,19 +2787,20 @@ static const struct data_queue_desc rt61pci_queue_bcn = { | |||
2788 | }; | 2787 | }; |
2789 | 2788 | ||
2790 | static const struct rt2x00_ops rt61pci_ops = { | 2789 | static const struct rt2x00_ops rt61pci_ops = { |
2791 | .name = KBUILD_MODNAME, | 2790 | .name = KBUILD_MODNAME, |
2792 | .max_sta_intf = 1, | 2791 | .max_sta_intf = 1, |
2793 | .max_ap_intf = 4, | 2792 | .max_ap_intf = 4, |
2794 | .eeprom_size = EEPROM_SIZE, | 2793 | .eeprom_size = EEPROM_SIZE, |
2795 | .rf_size = RF_SIZE, | 2794 | .rf_size = RF_SIZE, |
2796 | .tx_queues = NUM_TX_QUEUES, | 2795 | .tx_queues = NUM_TX_QUEUES, |
2797 | .rx = &rt61pci_queue_rx, | 2796 | .extra_tx_headroom = 0, |
2798 | .tx = &rt61pci_queue_tx, | 2797 | .rx = &rt61pci_queue_rx, |
2799 | .bcn = &rt61pci_queue_bcn, | 2798 | .tx = &rt61pci_queue_tx, |
2800 | .lib = &rt61pci_rt2x00_ops, | 2799 | .bcn = &rt61pci_queue_bcn, |
2801 | .hw = &rt61pci_mac80211_ops, | 2800 | .lib = &rt61pci_rt2x00_ops, |
2801 | .hw = &rt61pci_mac80211_ops, | ||
2802 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS | 2802 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS |
2803 | .debugfs = &rt61pci_rt2x00debug, | 2803 | .debugfs = &rt61pci_rt2x00debug, |
2804 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ | 2804 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ |
2805 | }; | 2805 | }; |
2806 | 2806 | ||