The iwm(4) iwm_poll_bit() function returns 1 on success, and 0 on failure,
whereas the iwl_poll_bit() in Linux iwlwifi returns < 0 on failure.
So the (ret < 0) check ended up ignoring any error returned by
iwm_poll_bit().
Differential D7932
[iwm] Fix iwm_poll_bit() error value check in iwm_attach(). ivadasz on Sep 18 2016, 9:29 AM. Authored by Tags None Referenced Files
Subscribers
Details The iwm(4) iwm_poll_bit() function returns 1 on success, and 0 on failure, So the (ret < 0) check ended up ignoring any error returned by
Diff Detail
|