diff options
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
| -rw-r--r-- | net/mac80211/mesh_hwmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index 35ad3983ae4b..daf9db3c8f24 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c | |||
| @@ -572,6 +572,10 @@ static void hwmp_preq_frame_process(struct ieee80211_sub_if_data *sdata, | |||
| 572 | forward = false; | 572 | forward = false; |
| 573 | reply = true; | 573 | reply = true; |
| 574 | target_metric = 0; | 574 | target_metric = 0; |
| 575 | |||
| 576 | if (SN_GT(target_sn, ifmsh->sn)) | ||
| 577 | ifmsh->sn = target_sn; | ||
| 578 | |||
| 575 | if (time_after(jiffies, ifmsh->last_sn_update + | 579 | if (time_after(jiffies, ifmsh->last_sn_update + |
| 576 | net_traversal_jiffies(sdata)) || | 580 | net_traversal_jiffies(sdata)) || |
| 577 | time_before(jiffies, ifmsh->last_sn_update)) { | 581 | time_before(jiffies, ifmsh->last_sn_update)) { |
