1 From 6ad5c6dd7471b066e5f83aeec3919296c1fd817a Mon Sep 17 00:00:00 2001
2 From: Ivo van Doorn <IvDoorn@gmail.com>
3 Date: Sat, 7 Feb 2009 15:21:48 +0100
4 Subject: [PATCH] rt2x00: uncomment get_tsf
6 The atomic requirement for get_tsf() has been removed
7 by mac80211. This means the USB drivers can add support
8 for the callback function again.
10 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
12 drivers/net/wireless/rt2x00/rt73usb.c | 10 ----------
13 1 files changed, 0 insertions(+), 10 deletions(-)
15 --- a/drivers/net/wireless/rt2x00/rt73usb.c
16 +++ b/drivers/net/wireless/rt2x00/rt73usb.c
17 @@ -2241,13 +2241,6 @@ static int rt73usb_conf_tx(struct ieee80
23 - * Mac80211 demands get_tsf must be atomic.
24 - * This is not possible for rt73usb since all register access
25 - * functions require sleeping. Untill mac80211 no longer needs
26 - * get_tsf to be atomic, this function should be disabled.
28 static u64 rt73usb_get_tsf(struct ieee80211_hw *hw)
30 struct rt2x00_dev *rt2x00dev = hw->priv;
31 @@ -2261,9 +2254,6 @@ static u64 rt73usb_get_tsf(struct ieee80
36 -#define rt73usb_get_tsf NULL
39 static const struct ieee80211_ops rt73usb_mac80211_ops = {