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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to