Run callout_reset() with mutex held.

PR:		kern/197143
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
adrian 2015-03-15 20:13:07 +00:00
parent 86d996754a
commit d137511d57

View File

@ -4660,7 +4660,9 @@ wpi_radio_off(void *arg0, int pending)
if (vap != NULL)
ieee80211_stop(vap);
WPI_LOCK(sc);
callout_reset(&sc->watchdog_rfkill, hz, wpi_watchdog_rfkill, sc);
WPI_UNLOCK(sc);
}
static void