Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2004 06:15:35 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 66300 for review
Message-ID:  <200412030615.iB36FZv9040614@repoman.freebsd.org>

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

Change 66300 by sam@sam_ebb on 2004/12/03 06:15:19

	correct range check on dtim period

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#24 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#24 (text+ko) ====

@@ -2252,7 +2252,7 @@
 		error = ieee80211_ioctl_setwmeparam(ic, ireq);
 		break;
 	case IEEE80211_IOC_DTIM_PERIOD:
-		if (IEEE80211_DTIM_MIN < ireq->i_val &&
+		if (IEEE80211_DTIM_MIN <= ireq->i_val &&
 		    ireq->i_val <= IEEE80211_DTIM_MAX) {
 			IEEE80211_BEACON_LOCK(ic);
 			ic->ic_dtim_period = ireq->i_val;



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