1
0
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:
Rui Paulo 2009-10-22 17:30:22 +00:00
parent 3eec6f034a
commit 038abe369e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=198369

View File

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