Page MenuHomeFreeBSD

[iwm] Fix iwm_poll_bit() usage in iwm_stop_device(), fixup r303418.
ClosedPublic

Authored by ivadasz on Jul 30 2016, 3:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 9, 4:36 AM
Unknown Object (File)
Sat, Oct 5, 8:37 AM
Unknown Object (File)
Fri, Oct 4, 11:58 AM
Unknown Object (File)
Fri, Oct 4, 2:18 AM
Unknown Object (File)
Thu, Oct 3, 7:00 PM
Unknown Object (File)
Thu, Oct 3, 9:14 AM
Unknown Object (File)
Thu, Oct 3, 9:12 AM
Unknown Object (File)
Wed, Oct 2, 3:29 PM
Subscribers

Details

Summary
  • iwm_poll_bit() returns 1 on success and 0 on failure, whereas iwl_poll_bit() in Linux's iwlwifi returns >= 0 on success and < 0 on failure.
  • Because of the wrong iwm_poll_bit return code check, no warning was printed if tx DMA stopping failed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivadasz retitled this revision from to [iwm] Fix iwm_poll_bit() usage in iwm_stop_device(), fixup r303418..
ivadasz updated this object.
ivadasz added reviewers: adrian, cognet.
adrian edited edge metadata.

good!

This revision is now accepted and ready to land.Jul 30 2016, 5:02 PM
This revision was automatically updated to reflect the committed changes.