git: if_iwm - Check sc->sc_attached flag in suspend/resume callbacks.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Nov 13 13:49:35 PST 2016


commit 67b5e090efb225654815fed91020db6cfc16bb19
Author: Imre Vadász <imre at vdsz.com>
Date:   Sun Nov 13 22:36:16 2016 +0100

    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().

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c | 7 +++++++
 1 file changed, 7 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/67b5e090efb225654815fed91020db6cfc16bb19


-- 
DragonFly BSD source repository



More information about the Commits mailing list