PERFORCE change 66598 for review

Sam Leffler sam at FreeBSD.org
Mon Dec 6 16:54:46 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=66598

Change 66598 by sam at 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;


More information about the p4-projects mailing list