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)
Mon, Nov 11, 2:49 PM
Unknown Object (File)
Mon, Nov 11, 9:35 AM
Unknown Object (File)
Oct 9 2024, 4:36 AM
Unknown Object (File)
Oct 5 2024, 8:37 AM
Unknown Object (File)
Oct 4 2024, 11:58 AM
Unknown Object (File)
Oct 4 2024, 2:18 AM
Unknown Object (File)
Oct 3 2024, 7:00 PM
Unknown Object (File)
Oct 3 2024, 9:14 AM
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.