Date: Wed, 4 May 2016 17:22:35 +0000 (UTC) From: Andriy Voskoboinyk <avos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299078 - head/sys/net80211 Message-ID: <201605041722.u44HMZN6059426@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avos Date: Wed May 4 17:22:35 2016 New Revision: 299078 URL: https://svnweb.freebsd.org/changeset/base/299078 Log: net80211: do not hardcode size of ic_modecaps field. Modified: head/sys/net80211/ieee80211_var.h Modified: head/sys/net80211/ieee80211_var.h ============================================================================== --- head/sys/net80211/ieee80211_var.h Wed May 4 17:21:34 2016 (r299077) +++ head/sys/net80211/ieee80211_var.h Wed May 4 17:22:35 2016 (r299078) @@ -148,7 +148,8 @@ struct ieee80211com { uint32_t ic_htcaps; /* HT capabilities */ uint32_t ic_htextcaps; /* HT extended capabilities */ uint32_t ic_cryptocaps; /* crypto capabilities */ - uint8_t ic_modecaps[2]; /* set of mode capabilities */ + /* set of mode capabilities */ + uint8_t ic_modecaps[IEEE80211_MODE_BYTES]; uint8_t ic_promisc; /* vap's needing promisc mode */ uint8_t ic_allmulti; /* vap's needing all multicast*/ uint8_t ic_nrunning; /* vap's marked running */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605041722.u44HMZN6059426>