aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2400pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index 28663c00b770..6c025cf32423 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -1510,14 +1510,6 @@ static u64 rt2400pci_get_tsf(struct ieee80211_hw *hw)
1510 return tsf; 1510 return tsf;
1511} 1511}
1512 1512
1513static void rt2400pci_reset_tsf(struct ieee80211_hw *hw)
1514{
1515 struct rt2x00_dev *rt2x00dev = hw->priv;
1516
1517 rt2x00pci_register_write(rt2x00dev, CSR16, 0);
1518 rt2x00pci_register_write(rt2x00dev, CSR17, 0);
1519}
1520
1521static int rt2400pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, 1513static int rt2400pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb,
1522 struct ieee80211_tx_control *control) 1514 struct ieee80211_tx_control *control)
1523{ 1515{
@@ -1586,7 +1578,6 @@ static const struct ieee80211_ops rt2400pci_mac80211_ops = {
1586 .conf_tx = rt2400pci_conf_tx, 1578 .conf_tx = rt2400pci_conf_tx,
1587 .get_tx_stats = rt2x00mac_get_tx_stats, 1579 .get_tx_stats = rt2x00mac_get_tx_stats,
1588 .get_tsf = rt2400pci_get_tsf, 1580 .get_tsf = rt2400pci_get_tsf,
1589 .reset_tsf = rt2400pci_reset_tsf,
1590 .beacon_update = rt2400pci_beacon_update, 1581 .beacon_update = rt2400pci_beacon_update,
1591 .tx_last_beacon = rt2400pci_tx_last_beacon, 1582 .tx_last_beacon = rt2400pci_tx_last_beacon,
1592}; 1583};