mac80211: fixup for mesh TSF adjustment latency in Toffset setpoint
PATCH 1/1 mac80211: fixup for mesh TSF adjustment latency in Toffset setpoint
The original patch defined the correction margin but did not apply it.
Signed-off-by Shinichi Hotori <[email protected]>
Signed-off-by Yu Niiro <[email protected]>
Signed-off-by Javier Cardona <[email protected]>
--- net/mac80211/mesh_sync.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/mac80211/mesh_sync.c +1 -1
@@ -195,7 +195,7 @@ static void mesh_sync_offset_rx_bcn_presp(struct ieee80211_sub_if_data *sdata,spin_unlock_bh (&ifmsh->sync_offset_lock); }else { - sta->t_offset_setpoint = sta->t_offset; + sta->t_offset_setpoint = sta->t_offset -TOFFSET_SET_MARGIN ;set_sta_flag (sta,WLAN_STA_TOFFSET_KNOWN ); msync_dbg("STA %pM : offset was invalid, " " sta->t_offset=%lld",
Signature · 1 line
1.7.5.4