Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2017 04:02:29 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r313984 - head/sys/net80211
Message-ID:  <201702200402.v1K42Tvq068803@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Feb 20 04:02:29 2017
New Revision: 313984
URL: https://svnweb.freebsd.org/changeset/base/313984

Log:
  [net80211] fix up VHT IE comparison typo
  
  Whilst here, add a comment that I need to validate VHT IEs.

Modified:
  head/sys/net80211/ieee80211_hostap.c

Modified: head/sys/net80211/ieee80211_hostap.c
==============================================================================
--- head/sys/net80211/ieee80211_hostap.c	Mon Feb 20 03:45:41 2017	(r313983)
+++ head/sys/net80211/ieee80211_hostap.c	Mon Feb 20 04:02:29 2017	(r313984)
@@ -2101,6 +2101,8 @@ hostap_recv_mgmt(struct ieee80211_node *
 			     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 *
 
 		/* 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__);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702200402.v1K42Tvq068803>