diff options
author | monthadar <monthadar@FreeBSD.org> | 2012-05-01 16:08:46 +0000 |
---|---|---|
committer | monthadar <monthadar@FreeBSD.org> | 2012-05-01 16:08:46 +0000 |
commit | 85e4cd546c7bf273bdbb9c407338dd50414c2925 (patch) | |
tree | 990c6ac10df6d35d6f629e832c5e6c426047eb6c /sys/net80211/ieee80211_hwmp.c | |
parent | 61b3092da43879277ac81329f0d8c7b3bd94441b (diff) | |
download | FreeBSD-src-85e4cd546c7bf273bdbb9c407338dd50414c2925.zip FreeBSD-src-85e4cd546c7bf273bdbb9c407338dd50414c2925.tar.gz |
* Proactive PREQ (original transmission) must also set
IEEE80211_MESHPREQ_TFLAGS_USN flag in target_flag field;
Approved by: adrian
Diffstat (limited to 'sys/net80211/ieee80211_hwmp.c')
-rw-r--r-- | sys/net80211/ieee80211_hwmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_hwmp.c b/sys/net80211/ieee80211_hwmp.c index 915ef95..5d8686d 100644 --- a/sys/net80211/ieee80211_hwmp.c +++ b/sys/net80211/ieee80211_hwmp.c @@ -835,7 +835,8 @@ hwmp_rootmode_cb(void *arg) preq.preq_metric = IEEE80211_MESHLMETRIC_INITIALVAL; preq.preq_tcount = 1; IEEE80211_ADDR_COPY(PREQ_TADDR(0), broadcastaddr); - PREQ_TFLAGS(0) = IEEE80211_MESHPREQ_TFLAGS_TO; + PREQ_TFLAGS(0) = IEEE80211_MESHPREQ_TFLAGS_TO | + IEEE80211_MESHPREQ_TFLAGS_USN; PREQ_TSEQ(0) = 0; vap->iv_stats.is_hwmp_rootreqs++; hwmp_send_preq(vap->iv_bss, vap->iv_myaddr, broadcastaddr, &preq, |