Fix a panic while disabling the RF kill button, caller of the
wpi_rfkill_resume() function will take care of the lock. PR: kern/144898 MFC after: 3 days
This commit is contained in:
parent
58baed5a57
commit
e9d9d7a03a
@ -3004,14 +3004,12 @@ wpi_rfkill_resume(struct wpi_softc *sc)
|
||||
if (ntries == 1000) {
|
||||
device_printf(sc->sc_dev,
|
||||
"timeout waiting for thermal calibration\n");
|
||||
WPI_UNLOCK(sc);
|
||||
return;
|
||||
}
|
||||
DPRINTFN(WPI_DEBUG_TEMP,("temperature %d\n", sc->temp));
|
||||
|
||||
if (wpi_config(sc) != 0) {
|
||||
device_printf(sc->sc_dev, "device config failed\n");
|
||||
WPI_UNLOCK(sc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user