Page MenuHomeFreeBSD

rtwn: Restore RF_ENV control type after initializing RF.
ClosedPublic

Authored by jhb on Apr 7 2022, 10:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 8 2025, 8:09 PM
Unknown Object (File)
Nov 8 2025, 6:20 AM
Unknown Object (File)
Oct 29 2025, 5:11 PM
Unknown Object (File)
Oct 15 2025, 2:28 AM
Unknown Object (File)
Oct 15 2025, 2:28 AM
Unknown Object (File)
Oct 15 2025, 2:28 AM
Unknown Object (File)
Oct 14 2025, 5:32 PM
Unknown Object (File)
Oct 11 2025, 3:34 PM
Subscribers
None

Details

Summary

Both rwlwifi in Linux and rtwn in OpenBSD restore this register,
and the existing code was saving the value and not using it.

Reported by: -Wunused-but-set-variable
Obtained from: OpenBSD

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable