diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c index 5ec80e3646b8..3a28339063b1 100644 --- a/sys/net80211/ieee80211_ht.c +++ b/sys/net80211/ieee80211_ht.c @@ -1951,6 +1951,10 @@ do { \ (vap->iv_vht_flags & IEEE80211_FVHT_VHT) == 0) _RETURN_CHAN_BITS(0); + /* If there isn't a HTINFO field then just bail */ + if (ni->ni_ies.htinfo_ie == NULL) + _RETURN_CHAN_BITS(0); + /* * The original code was based on * 802.11ac-2013, Table 8-183x-VHT Operation Information subfields.