1 From b44184b2fd4075f85193b9e61a885b8c057dd4bc Mon Sep 17 00:00:00 2001
2 From: Ivo van Doorn <IvDoorn@gmail.com>
3 Date: Sat, 7 Feb 2009 15:22:52 +0100
4 Subject: [PATCH] rt2x00: Uncomment get_tsf (rt2800usb)
6 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
8 drivers/net/wireless/rt2x00/rt2800usb.c | 10 ----------
9 1 files changed, 0 insertions(+), 10 deletions(-)
11 diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
12 index 004dc57..ab00d4d 100644
13 --- a/drivers/net/wireless/rt2x00/rt2800usb.c
14 +++ b/drivers/net/wireless/rt2x00/rt2800usb.c
15 @@ -2696,13 +2696,6 @@ static int rt2800usb_conf_tx(struct ieee80211_hw *hw, u16 queue_idx,
21 - * Mac80211 demands get_tsf must be atomic.
22 - * This is not possible for rt2800usb since all register access
23 - * functions require sleeping. Untill mac80211 no longer needs
24 - * get_tsf to be atomic, this function should be disabled.
26 static u64 rt2800usb_get_tsf(struct ieee80211_hw *hw)
28 struct rt2x00_dev *rt2x00dev = hw->priv;
29 @@ -2716,9 +2709,6 @@ static u64 rt2800usb_get_tsf(struct ieee80211_hw *hw)
34 -#define rt2800usb_get_tsf NULL
37 static const struct ieee80211_ops rt2800usb_mac80211_ops = {