* [PATCH] d80211: fix get_tsf call
@ 2006-12-20 8:04 Hong Liu
2006-12-20 10:15 ` Jiri Benc
0 siblings, 1 reply; 2+ messages in thread
From: Hong Liu @ 2006-12-20 8:04 UTC (permalink / raw)
To: Jiri Benc; +Cc: John W. Linville, netdev
get_tsf passes the wrong pointer to driver.
Signed-off-by: Hong Liu <hong.liu@intel.com>
diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c
index 3b55427..e48295e 100644
--- a/net/d80211/ieee80211_sta.c
+++ b/net/d80211/ieee80211_sta.c
@@ -2482,7 +2482,7 @@ #ifdef CONFIG_D80211_IBSS_DEBUG
static unsigned long last_tsf_debug = 0;
u64 tsf;
if (local->ops->get_tsf)
- tsf = local->ops->get_tsf(local->mdev);
+ tsf = local->ops->get_tsf(local_to_hw(local));
else
tsf = -1LLU;
if (time_after(jiffies, last_tsf_debug + 5 * HZ)) {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-20 10:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-20 8:04 [PATCH] d80211: fix get_tsf call Hong Liu
2006-12-20 10:15 ` Jiri Benc
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.