Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2004 00:54:44 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 66598 for review
Message-ID:  <200412070054.iB70siHI028151@repoman.freebsd.org>

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

Change 66598 by sam@sam_ebb on 2004/12/07 00:54:23

	can't dtim on the fly; stations must re-associate

Affected files ...

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

Differences ...

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

@@ -2290,9 +2290,8 @@
 			return EINVAL;
 		if (IEEE80211_DTIM_MIN <= ireq->i_val &&
 		    ireq->i_val <= IEEE80211_DTIM_MAX) {
-			IEEE80211_BEACON_LOCK(ic);
 			ic->ic_dtim_period = ireq->i_val;
-			IEEE80211_BEACON_UNLOCK(ic);
+			error = ENETRESET;		/* requires restart */
 		} else
 			error = EINVAL;
 		break;



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