svn commit: r219603 - head/sys/net80211

Bernhard Schmidt bschmidt at FreeBSD.org
Sun Mar 13 12:21:05 UTC 2011


Author: bschmidt
Date: Sun Mar 13 12:21:04 2011
New Revision: 219603
URL: http://svn.freebsd.org/changeset/base/219603

Log:
  Fix a cut&paste error while parsing htcap/htinfo elements. This one is
  reponsible for not filling ni_htrates if a pre-ht information element is
  present.

Modified:
  head/sys/net80211/ieee80211_sta.c

Modified: head/sys/net80211/ieee80211_sta.c
==============================================================================
--- head/sys/net80211/ieee80211_sta.c	Sun Mar 13 12:16:23 2011	(r219602)
+++ head/sys/net80211/ieee80211_sta.c	Sun Mar 13 12:21:04 2011	(r219603)
@@ -1544,7 +1544,7 @@ sta_recv_mgmt(struct ieee80211_node *ni,
 							htcap = frm;
 					} else if (ishtinfooui(frm)) {
 						if (htinfo == NULL)
-							htcap = frm;
+							htinfo = frm;
 					}
 				}
 				/* XXX Atheros OUI support */


More information about the svn-src-head mailing list