Commit 6ac95b57 authored by Javier Cardona's avatar Javier Cardona Committed by John W. Linville
Browse files

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: default avatarShinichi Hotori <hotorinn@gmail.com>
Signed-off-by: default avatarYu Niiro <yu.niiro@gmail.com>
Signed-off-by: default avatarJavier Cardona <javier@cozybit.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b96f20b3
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment