HomeFreeBSD

iwm: If firmware load fails during init via iwm_preinit() we bail out

Description

iwm: If firmware load fails during init via iwm_preinit() we bail out
before calling ieee80211_ifattach() so the taskqueue hasn't been
initialized. Don't try to drain it, we'll panic.
Looks like this issue was introduced in r303326.

Reviewed by: avos, sbruno, adrian
Differential Revision: https://reviews.freebsd.org/D8499

Details

Committed
gavinNov 12 2016, 6:33 PM
Reviewer
sbruno
Differential Revision
D8499: iwm(4): Don't panic if firmware load fails
Parents
rS308576: Add myself (def) as a src committer and pjd as my mentor.
Branches
Unknown
Tags
Unknown