PERFORCE change 140662 for review

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Apr 26 09:14:55 UTC 2008


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

Change 140662 by pjd at pjd_anger on 2008/04/26 09:13:57

	We have to call callout_stop() with IWN lock held.

Affected files ...

.. //depot/projects/vap/sys/dev/iwn/if_iwn.c#12 edit

Differences ...

==== //depot/projects/vap/sys/dev/iwn/if_iwn.c#12 (text+kox) ====

@@ -973,7 +973,9 @@
 		ieee80211_state_name[vap->iv_state],
 		ieee80211_state_name[nstate]);
 
+	IWN_LOCK(sc);
 	callout_stop(&sc->sc_timer_to);
+	IWN_UNLOCK(sc);
 
 	/*
 	 * Some state transitions require issuing a configure request


More information about the p4-projects mailing list