[package] mac80211: reorder patches
[openwrt.git] / package / mac80211 / patches / 308-rt2x00-uncomment-get_tsf.patch
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
5
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.
9
10 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
11 ---
12 drivers/net/wireless/rt2x00/rt73usb.c | 10 ----------
13 1 files changed, 0 insertions(+), 10 deletions(-)
14
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
18 return 0;
19 }
20
21 -#if 0
22 -/*
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.
27 - */
28 static u64 rt73usb_get_tsf(struct ieee80211_hw *hw)
29 {
30 struct rt2x00_dev *rt2x00dev = hw->priv;
31 @@ -2261,9 +2254,6 @@ static u64 rt73usb_get_tsf(struct ieee80
32
33 return tsf;
34 }
35 -#else
36 -#define rt73usb_get_tsf NULL
37 -#endif
38
39 static const struct ieee80211_ops rt73usb_mac80211_ops = {
40 .tx = rt2x00mac_tx,
This page took 0.047148 seconds and 5 git commands to generate.