* Proactive PREQ (original transmission) must also set

IEEE80211_MESHPREQ_TFLAGS_USN flag in target_flag field;

Approved by: adrian
This commit is contained in:
Monthadar Al Jaberi 2012-05-01 16:08:46 +00:00
parent 7b977be4d0
commit 53c35d21d5

View File

@ -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,