* [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
* Re: [PATCH] d80211: fix get_tsf call
2006-12-20 8:04 [PATCH] d80211: fix get_tsf call Hong Liu
@ 2006-12-20 10:15 ` Jiri Benc
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Benc @ 2006-12-20 10:15 UTC (permalink / raw)
To: Hong Liu; +Cc: John W. Linville, netdev
On Wed, 20 Dec 2006 16:04:25 +0800, Hong Liu wrote:
> get_tsf passes the wrong pointer to driver.
Already fixed, see commit 0690925f2f99f6d43322ec8507eaabdcf1435c3c.
Thanks,
Jiri
--
Jiri Benc
SUSE Labs
^ permalink raw reply [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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).