Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2008 09:14:54 GMT
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 140662 for review
Message-ID:  <200804260914.m3Q9Esrn048267@repoman.freebsd.org>

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

Change 140662 by pjd@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



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