Author: rpaulo
Date: Thu Oct 22 17:30:22 2009
New Revision: 198369
URL: http://svn.freebsd.org/changeset/base/198369

Log:
  Initialize rann_flags properly.
  
  MFC after:    2 days

Modified:
  head/sys/net80211/ieee80211_hwmp.c

Modified: head/sys/net80211/ieee80211_hwmp.c
==============================================================================
--- head/sys/net80211/ieee80211_hwmp.c  Thu Oct 22 16:26:38 2009        
(r198368)
+++ head/sys/net80211/ieee80211_hwmp.c  Thu Oct 22 17:30:22 2009        
(r198369)
@@ -653,6 +653,7 @@ hwmp_rootmode_rann_cb(void *arg)
        IEEE80211_NOTE(vap, IEEE80211_MSG_HWMP, vap->iv_bss,
            "%s", "send broadcast RANN");
 
+       rann.rann_flags = 0;
        if (ms->ms_flags & IEEE80211_MESHFLAGS_PORTAL)
                rann.rann_flags |= IEEE80211_MESHRANN_FLAGS_PR;
        rann.rann_hopcount = 0;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to