diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2010-12-18 15:25:21 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2010-12-18 15:25:21 +0000 |
commit | e9d9d7a03ac556ff59c91e683c2dc034df144a45 (patch) | |
tree | 3ca102ee44c496825c6cda4061199743ef8d7d6e /sys/dev/wpi | |
parent | 58baed5a574ee46c4c50433890b619e917c5c93f (diff) | |
download | FreeBSD-src-e9d9d7a03ac556ff59c91e683c2dc034df144a45.zip FreeBSD-src-e9d9d7a03ac556ff59c91e683c2dc034df144a45.tar.gz |
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
Diffstat (limited to 'sys/dev/wpi')
-rw-r--r-- | sys/dev/wpi/if_wpi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c index 72d5910..c5b171f 100644 --- a/sys/dev/wpi/if_wpi.c +++ b/sys/dev/wpi/if_wpi.c @@ -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; } |