Page MenuHomeFreeBSD

net80211: scan/internal: change boolean argument from int to bool
Needs ReviewPublic

Authored by bz on Sun, Jun 30, 9:22 PM.
Tags
None
Referenced Files
F87352511: D45816.id140409.diff
Tue, Jul 2, 1:02 AM
F87350764: D45816.id140409.diff
Tue, Jul 2, 12:23 AM
Unknown Object (File)
Mon, Jul 1, 9:23 PM

Details

Reviewers
None
Group Reviewers
wireless
Summary

ieee80211_probe_curchan() passed a "force" argument which is bool.
Make it such. Adjust the (*sc_scan_probe_curchan)() KPI to bool
as well. This is all a big NOP as the only implementor of this
function, ieee80211_swscan_probe_curchan(), does not use the argument
at all.

I came across this when pondering a different scan implementation.
Rather than dropping it (change or the argument from the function),
push the cleanup out given it is purely net80211 internal code
(the argument may have reason for existance in the future).

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 58432
Build 55320: arc lint + arc unit