Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2008 19:51:41 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 133429 for review
Message-ID:  <200801161951.m0GJpfQN008865@repoman.freebsd.org>

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

Change 133429 by sam@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



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