Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2005 00:34:27 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 80724 for review
Message-ID:  <200507220034.j6M0YRPt034008@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=80724

Change 80724 by sam@sam_ebb on 2005/07/22 00:33:29

	fix check that caused DSPARMS ie to not be included in beacon frames

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_output.c#47 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_output.c#47 (text+ko) ====

@@ -1444,7 +1444,7 @@
 				ic->ic_bss->ni_esslen);
 		frm = ieee80211_add_rates(frm, &ni->ni_rates);
 
-		if (ic->ic_phytype == IEEE80211_T_FH) {
+		if (IEEE80211_IS_CHAN_FHSS(ic->ic_curchan)) {
                         *frm++ = IEEE80211_ELEMID_FHPARMS;
                         *frm++ = 5;
                         *frm++ = ni->ni_fhdwell & 0x00ff;
@@ -1789,7 +1789,7 @@
 	} else
 		*frm++ = 0;
 	frm = ieee80211_add_rates(frm, rs);
-	if (IEEE80211_IS_CHAN_FHSS(ic->ic_bsschan)) {
+	if (!IEEE80211_IS_CHAN_FHSS(ic->ic_bsschan)) {
 		*frm++ = IEEE80211_ELEMID_DSPARMS;
 		*frm++ = 1;
 		*frm++ = ieee80211_chan2ieee(ic, ic->ic_bsschan);



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