diff options
author | Javier Cardona <javier@cozybit.com> | 2012-04-20 12:52:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-23 15:37:41 -0400 |
commit | 6ac95b57657d1bf5776f29a1697c123f62d5a58a (patch) | |
tree | a888e3f352dc720dd743e165496bbafa01f301ed | |
parent | b96f20b3afff36f30baa1e1e121ccbf7518a988d (diff) |
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 <hotorinn@gmail.com>
Signed-off-by: Yu Niiro <yu.niiro@gmail.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/mac80211/mesh_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh_sync.c b/net/mac80211/mesh_sync.c index ff60d6bcc631..38d30e8ce6dc 100644 --- a/net/mac80211/mesh_sync.c +++ b/net/mac80211/mesh_sync.c | |||
@@ -195,7 +195,7 @@ static void mesh_sync_offset_rx_bcn_presp(struct ieee80211_sub_if_data *sdata, | |||
195 | spin_unlock_bh(&ifmsh->sync_offset_lock); | 195 | spin_unlock_bh(&ifmsh->sync_offset_lock); |
196 | 196 | ||
197 | } else { | 197 | } else { |
198 | sta->t_offset_setpoint = sta->t_offset; | 198 | sta->t_offset_setpoint = sta->t_offset - TOFFSET_SET_MARGIN; |
199 | set_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN); | 199 | set_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN); |
200 | msync_dbg("STA %pM : offset was invalid, " | 200 | msync_dbg("STA %pM : offset was invalid, " |
201 | " sta->t_offset=%lld", | 201 | " sta->t_offset=%lld", |