mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Initialize rann_flags properly.
MFC after: 2 days
This commit is contained in:
parent
3eec6f034a
commit
038abe369e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=198369
@ -653,6 +653,7 @@ hwmp_rootmode_rann_cb(void *arg)
|
|||||||
IEEE80211_NOTE(vap, IEEE80211_MSG_HWMP, vap->iv_bss,
|
IEEE80211_NOTE(vap, IEEE80211_MSG_HWMP, vap->iv_bss,
|
||||||
"%s", "send broadcast RANN");
|
"%s", "send broadcast RANN");
|
||||||
|
|
||||||
|
rann.rann_flags = 0;
|
||||||
if (ms->ms_flags & IEEE80211_MESHFLAGS_PORTAL)
|
if (ms->ms_flags & IEEE80211_MESHFLAGS_PORTAL)
|
||||||
rann.rann_flags |= IEEE80211_MESHRANN_FLAGS_PR;
|
rann.rann_flags |= IEEE80211_MESHRANN_FLAGS_PR;
|
||||||
rann.rann_hopcount = 0;
|
rann.rann_hopcount = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user