Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341981
b: refs/heads/master
c: 3720390
h: refs/heads/master
i:
  341979: 3fe6140
v: v3
  • Loading branch information
Marco Porsch authored and Johannes Berg committed Nov 30, 2012
1 parent b58b377 commit 88b532a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c04d61500d706b20361eef02e819b9bed8e92c01
refs/heads/master: 372039031c62886c8c5b57a7b0111446e9caefa8
4 changes: 4 additions & 0 deletions trunk/net/mac80211/mesh_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,15 @@ static void mesh_sync_offset_adjust_tbtt(struct ieee80211_sub_if_data *sdata)
ifmsh->sync_offset_clockdrift_max);
set_bit(MESH_WORK_DRIFT_ADJUST,
&ifmsh->wrkq_flags);

ifmsh->adjusting_tbtt = true;
} else {
msync_dbg(sdata,
"TBTT : max clockdrift=%lld; too small to adjust\n",
(long long)ifmsh->sync_offset_clockdrift_max);
ifmsh->sync_offset_clockdrift_max = 0;

ifmsh->adjusting_tbtt = false;
}
spin_unlock_bh(&ifmsh->sync_offset_lock);
}
Expand Down

0 comments on commit 88b532a

Please sign in to comment.