if_iwm - Check sc->sc_attached flag in suspend/resume callbacks.
commit67b5e090efb225654815fed91020db6cfc16bb19
authorImre Vadász <imre@vdsz.com>
Sun, 13 Nov 2016 21:36:16 +0000 (13 22:36 +0100)
committerImre Vadász <imre@vdsz.com>
Sun, 13 Nov 2016 21:47:57 +0000 (13 22:47 +0100)
tree330582f44e60847102cc1957c251835edc0fbe50
parentf43e824cafe91b52640ea7c87661af2656152af3
if_iwm - Check sc->sc_attached flag in suspend/resume callbacks.

* There is (almost) nothing to do in suspend/resume if if_iwm has failed
  during initialization (e.g. because of firmware load failure) and was
  already uninitialized by iwm_detach_local().
sys/dev/netif/iwm/if_iwm.c