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)
Sun, Oct 26, 1:53 PM
Unknown Object (File)
Thu, Oct 2, 5:07 AM
Unknown Object (File)
Sep 30 2025, 12:43 AM
Unknown Object (File)
Aug 3 2025, 5:52 AM
Unknown Object (File)
Aug 2 2025, 1:19 PM
Unknown Object (File)
Jun 23 2025, 1:58 AM
Unknown Object (File)
Jun 21 2025, 5:39 AM
Unknown Object (File)
Jun 15 2025, 11:27 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.