Run callout_reset() with mutex held.

PR:		kern/197143
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
Adrian Chadd 2015-03-15 20:13:07 +00:00
parent 0c66281c5f
commit 811fe0a8fb

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