diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-02-21 20:38:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-02-21 20:38:07 +0000 |
commit | f98d59ddd04f7be1f689cf13a198ffc156b052af (patch) | |
tree | 604aebf5ce5715e5a29605fdd5ed14473c52690b /package/mac80211/patches/308-rt2x00-Uncomment-get_tsf-rt2800usb.patch | |
parent | b72191aa74660801e0edc943852930cc0b56cf42 (diff) | |
download | upstream-f98d59ddd04f7be1f689cf13a198ffc156b052af.tar.gz upstream-f98d59ddd04f7be1f689cf13a198ffc156b052af.tar.bz2 upstream-f98d59ddd04f7be1f689cf13a198ffc156b052af.zip |
upgrade to latest compat-wireless and rt2800 version
SVN-Revision: 14605
Diffstat (limited to 'package/mac80211/patches/308-rt2x00-Uncomment-get_tsf-rt2800usb.patch')
-rw-r--r-- | package/mac80211/patches/308-rt2x00-Uncomment-get_tsf-rt2800usb.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/package/mac80211/patches/308-rt2x00-Uncomment-get_tsf-rt2800usb.patch b/package/mac80211/patches/308-rt2x00-Uncomment-get_tsf-rt2800usb.patch new file mode 100644 index 0000000000..23a7898e92 --- /dev/null +++ b/package/mac80211/patches/308-rt2x00-Uncomment-get_tsf-rt2800usb.patch @@ -0,0 +1,41 @@ +From b44184b2fd4075f85193b9e61a885b8c057dd4bc Mon Sep 17 00:00:00 2001 +From: Ivo van Doorn <IvDoorn@gmail.com> +Date: Sat, 7 Feb 2009 15:22:52 +0100 +Subject: [PATCH] rt2x00: Uncomment get_tsf (rt2800usb) + +Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> +--- + drivers/net/wireless/rt2x00/rt2800usb.c | 10 ---------- + 1 files changed, 0 insertions(+), 10 deletions(-) + +diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c +index 004dc57..ab00d4d 100644 +--- a/drivers/net/wireless/rt2x00/rt2800usb.c ++++ b/drivers/net/wireless/rt2x00/rt2800usb.c +@@ -2696,13 +2696,6 @@ static int rt2800usb_conf_tx(struct ieee80211_hw *hw, u16 queue_idx, + return 0; + } + +-#if 0 +-/* +- * Mac80211 demands get_tsf must be atomic. +- * This is not possible for rt2800usb since all register access +- * functions require sleeping. Untill mac80211 no longer needs +- * get_tsf to be atomic, this function should be disabled. +- */ + static u64 rt2800usb_get_tsf(struct ieee80211_hw *hw) + { + struct rt2x00_dev *rt2x00dev = hw->priv; +@@ -2716,9 +2709,6 @@ static u64 rt2800usb_get_tsf(struct ieee80211_hw *hw) + + return tsf; + } +-#else +-#define rt2800usb_get_tsf NULL +-#endif + + static const struct ieee80211_ops rt2800usb_mac80211_ops = { + .tx = rt2x00mac_tx, +-- +1.6.0 + |