2009-02-21 22:38:07 +02:00
|
|
|
From b44184b2fd4075f85193b9e61a885b8c057dd4bc Mon Sep 17 00:00:00 2001
|
2009-02-08 12:22:43 +02:00
|
|
|
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(-)
|
|
|
|
|
|
|
|
--- a/drivers/net/wireless/rt2x00/rt2800usb.c
|
|
|
|
+++ b/drivers/net/wireless/rt2x00/rt2800usb.c
|
2009-02-26 20:03:20 +02:00
|
|
|
@@ -2696,13 +2696,6 @@ static int rt2800usb_conf_tx(struct ieee
|
2009-02-08 12:22:43 +02:00
|
|
|
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;
|
2009-02-26 20:03:20 +02:00
|
|
|
@@ -2716,9 +2709,6 @@ static u64 rt2800usb_get_tsf(struct ieee
|
2009-02-08 12:22:43 +02:00
|
|
|
|
|
|
|
return tsf;
|
|
|
|
}
|
|
|
|
-#else
|
|
|
|
-#define rt2800usb_get_tsf NULL
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
static const struct ieee80211_ops rt2800usb_mac80211_ops = {
|
|
|
|
.tx = rt2x00mac_tx,
|