78e209c09ca3320da0d8f7947844d5560f32c647
[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 --- a/drivers/net/wireless/rt2x00/rt2800usb.c
12 +++ b/drivers/net/wireless/rt2x00/rt2800usb.c
13 @@ -2696,13 +2696,6 @@ static int rt2800usb_conf_tx(struct ieee
14 return 0;
15 }
16
17 -#if 0
18 -/*
19 - * Mac80211 demands get_tsf must be atomic.
20 - * This is not possible for rt2800usb since all register access
21 - * functions require sleeping. Untill mac80211 no longer needs
22 - * get_tsf to be atomic, this function should be disabled.
23 - */
24 static u64 rt2800usb_get_tsf(struct ieee80211_hw *hw)
25 {
26 struct rt2x00_dev *rt2x00dev = hw->priv;
27 @@ -2716,9 +2709,6 @@ static u64 rt2800usb_get_tsf(struct ieee
28
29 return tsf;
30 }
31 -#else
32 -#define rt2800usb_get_tsf NULL
33 -#endif
34
35 static const struct ieee80211_ops rt2800usb_mac80211_ops = {
36 .tx = rt2x00mac_tx,
This page took 0.039834 seconds and 3 git commands to generate.