[net80211] fix up VHT IE comparison typo
Whilst here, add a comment that I need to validate VHT IEs.
This commit is contained in:
parent
2023566223
commit
7f19273c7c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313984
@ -2101,6 +2101,8 @@ hostap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0,
|
||||
return); /* XXX just NULL out? */
|
||||
}
|
||||
|
||||
/* XXX validate VHT IEs */
|
||||
|
||||
if ((vap->iv_flags & IEEE80211_F_WPA) &&
|
||||
!wpa_assocreq(ni, &rsnparms, wh, wpa, rsn, capinfo))
|
||||
return;
|
||||
@ -2152,7 +2154,7 @@ hostap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0,
|
||||
|
||||
/* VHT */
|
||||
if (IEEE80211_IS_CHAN_VHT(ni->ni_chan) &&
|
||||
htcap != NULL &&
|
||||
vhtcap != NULL &&
|
||||
vhtinfo != NULL) {
|
||||
/* XXX TODO; see below */
|
||||
printf("%s: VHT TODO!\n", __func__);
|
||||
|
Loading…
Reference in New Issue
Block a user