diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-02-17 11:33:57 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:23 -0500 |
commit | ef8f66cd1d6f360340a73ee7ed0492ff0f5f42ea (patch) | |
tree | 577bd4f874923a938280b4ac789656aaa617b75f /drivers/net/wireless/rt2x00/rt73usb.c | |
parent | 30b3a23c2594e122e7086f97b5252a87eaf8a817 (diff) |
rt2x00: Remove reset_tsf()
Specifications indicate the TSF registers are read-only,
so there is no point in writing 0 to those registers.
As far as I know there isn't another way to reset the
TSF registers. So removing these callbacks will notify
mac80211 about the lack of support.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index c3d4e9307785..c56540602ad6 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -1972,14 +1972,6 @@ static u64 rt73usb_get_tsf(struct ieee80211_hw *hw) | |||
1972 | #define rt73usb_get_tsf NULL | 1972 | #define rt73usb_get_tsf NULL |
1973 | #endif | 1973 | #endif |
1974 | 1974 | ||
1975 | static void rt73usb_reset_tsf(struct ieee80211_hw *hw) | ||
1976 | { | ||
1977 | struct rt2x00_dev *rt2x00dev = hw->priv; | ||
1978 | |||
1979 | rt73usb_register_write(rt2x00dev, TXRX_CSR12, 0); | ||
1980 | rt73usb_register_write(rt2x00dev, TXRX_CSR13, 0); | ||
1981 | } | ||
1982 | |||
1983 | static int rt73usb_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | 1975 | static int rt73usb_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, |
1984 | struct ieee80211_tx_control *control) | 1976 | struct ieee80211_tx_control *control) |
1985 | { | 1977 | { |
@@ -2047,7 +2039,6 @@ static const struct ieee80211_ops rt73usb_mac80211_ops = { | |||
2047 | .conf_tx = rt2x00mac_conf_tx, | 2039 | .conf_tx = rt2x00mac_conf_tx, |
2048 | .get_tx_stats = rt2x00mac_get_tx_stats, | 2040 | .get_tx_stats = rt2x00mac_get_tx_stats, |
2049 | .get_tsf = rt73usb_get_tsf, | 2041 | .get_tsf = rt73usb_get_tsf, |
2050 | .reset_tsf = rt73usb_reset_tsf, | ||
2051 | .beacon_update = rt73usb_beacon_update, | 2042 | .beacon_update = rt73usb_beacon_update, |
2052 | }; | 2043 | }; |
2053 | 2044 | ||