HomeFreeBSD

iwn: fix return code conflict in iwn_init_locked()

Description

iwn: fix return code conflict in iwn_init_locked()

Do not try to use errno(2) codes here; instead, just return unique
value (1) when radio is disabled via hardware switch and another
one (-1) for any other error in initialization path.

Tested with Intel 6205, STA mode.

Details

Provenance
avosAuthored on
Parents
rS315965: Synchronize libcxxrt in stable/10 with stable/11.
Branches
Unknown
Tags
Unknown