Run callout_reset() with mutex held.
PR: kern/197143 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
parent
0c66281c5f
commit
811fe0a8fb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user