d80211: fix get_tsf call
Subsystems (2)
PATCH 1/1 d80211: fix get_tsf call
get_tsf passes the wrong pointer to driver.
Signed-off-by Hong Liu <[email protected]>
net/d80211/ieee80211_sta.c +1 -1
@@ -2482,7 +2482,7 @@ #ifdef CONFIG_D80211_IBSS_DEBUGstatic 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 )) {
Quoted 1 line · Hong Liu
get_tsfpasses the wrong pointer to driver.
Already fixed, see commit 0690925f2f99f6d43322ec8507eaabdcf1435c3c.
Thanks,
Jiri
Signature · 2 lines
Jiri Benc SUSE Labs