upgrade to latest compat-wireless and rt2800 version
[openwrt.git] / package / mac80211 / patches / 308-rt2x00-Uncomment-get_tsf-rt2800usb.patch
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)
5
6 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
7 ---
8 drivers/net/wireless/rt2x00/rt2800usb.c | 10 ----------
9 1 files changed, 0 insertions(+), 10 deletions(-)
10
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,
16 return 0;
17 }
18
19 -#if 0
20 -/*
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.
25 - */
26 static u64 rt2800usb_get_tsf(struct ieee80211_hw *hw)
27 {
28 struct rt2x00_dev *rt2x00dev = hw->priv;
29 @@ -2716,9 +2709,6 @@ static u64 rt2800usb_get_tsf(struct ieee80211_hw *hw)
30
31 return tsf;
32 }
33 -#else
34 -#define rt2800usb_get_tsf NULL
35 -#endif
36
37 static const struct ieee80211_ops rt2800usb_mac80211_ops = {
38 .tx = rt2x00mac_tx,
39 --
40 1.6.0
41
This page took 0.048726 seconds and 5 git commands to generate.