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)
Fri, Feb 20, 8:40 AM
Unknown Object (File)
Jan 25 2026, 12:11 AM
Unknown Object (File)
Jan 24 2026, 8:12 PM
Unknown Object (File)
Jan 21 2026, 1:15 AM
Unknown Object (File)
Jan 16 2026, 8:07 PM
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
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