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)
Sun, Jul 5, 3:57 AM
Unknown Object (File)
Sat, Jul 4, 6:35 AM
Unknown Object (File)
Fri, Jul 3, 11:54 PM
Unknown Object (File)
Fri, Jun 26, 7:49 AM
Unknown Object (File)
Thu, Jun 25, 11:23 AM
Unknown Object (File)
Tue, Jun 23, 2:36 AM
Unknown Object (File)
May 2 2026, 4:57 AM
Unknown Object (File)
Apr 21 2026, 10:50 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