-/* $OpenBSD: if_iwn.c,v 1.259 2022/06/15 08:43:17 stsp Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.260 2022/06/19 18:27:06 stsp Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
sc->rxon.flags &= ~htole32(IWN_RXON_HT_CHANMODE_MIXED2040 |
IWN_RXON_HT_CHANMODE_PURE40 | IWN_RXON_HT_HT40MINUS);
- if ((ni->ni_flags & IEEE80211_NODE_HT) &&
- ieee80211_node_supports_ht_chan40(ni) &&
+ if (ieee80211_node_supports_ht_chan40(ni) &&
(sco == IEEE80211_HTOP0_SCO_SCA ||
sco == IEEE80211_HTOP0_SCO_SCB)) {
if (sco == IEEE80211_HTOP0_SCO_SCB)