PERFORCE change 133429 for review

Sam Leffler sam at FreeBSD.org
Wed Jan 16 11:51:41 PST 2008


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

Change 133429 by sam at sam_ebb on 2008/01/16 19:51:10

	bandaid locking so scanning completes; this is a total hack
	in lieu of overhauling the net80211 state machine to deal
	with drivers that operate asynchronously

Affected files ...

.. //depot/projects/vap/sys/dev/usb/if_ural.c#7 edit
.. //depot/projects/vap/sys/dev/usb/if_zyd.c#7 edit

Differences ...

==== //depot/projects/vap/sys/dev/usb/if_ural.c#7 (text+ko) ====

@@ -805,7 +805,9 @@
 
 	RAL_UNLOCK(sc);
 
+	IEEE80211_LOCK(ic);	/*XXX*/
 	uvp->newstate(vap, sc->sc_state, sc->sc_arg);
+	IEEE80211_UNLOCK(ic);
 }
 
 static void

==== //depot/projects/vap/sys/dev/usb/if_zyd.c#7 (text+ko) ====

@@ -750,7 +750,9 @@
 		break;
 	}
 
+	IEEE80211_LOCK(ic);	/*XXX*/
 	zvp->newstate(vap, sc->sc_state, sc->sc_arg);
+	IEEE80211_UNLOCK(ic);
 }
 
 static int


More information about the p4-projects mailing list