HomeFreeBSD

rtwn: Restore RF_ENV control type after initializing RF.

Description

rtwn: Restore RF_ENV control type after initializing RF.

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
Reviewed by: imp
Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D34838

Details

Provenance
jhbAuthored on Apr 8 2022, 12:01 AM
Reviewer
imp
Differential Revision
D34838: rtwn: Restore RF_ENV control type after initializing RF.
Parents
rG6d0a82ffc76d: krping: Remove unused variable.
Branches
Unknown
Tags
Unknown