|
@@ -572,6 +572,10 @@ static void hwmp_preq_frame_process(struct ieee80211_sub_if_data *sdata,
|
|
forward = false;
|
|
forward = false;
|
|
reply = true;
|
|
reply = true;
|
|
target_metric = 0;
|
|
target_metric = 0;
|
|
|
|
+
|
|
|
|
+ if (SN_GT(target_sn, ifmsh->sn))
|
|
|
|
+ ifmsh->sn = target_sn;
|
|
|
|
+
|
|
if (time_after(jiffies, ifmsh->last_sn_update +
|
|
if (time_after(jiffies, ifmsh->last_sn_update +
|
|
net_traversal_jiffies(sdata)) ||
|
|
net_traversal_jiffies(sdata)) ||
|
|
time_before(jiffies, ifmsh->last_sn_update)) {
|
|
time_before(jiffies, ifmsh->last_sn_update)) {
|