HomeFreeBSD

net80211: fix -Wunused-but-set-variable warnings

Description

net80211: fix -Wunused-but-set-variable warnings

Put the offending variables under the appropriate #ifdefs
(mostly IEEE80211_DEBUG, in one case IEEE80211_SUPPORT_SUPERG, and
in two cases under notyet to revisit why these had been left
there but not used).

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 05ea7a3e5e748547a0229efa80be0e71eaf84f52)

Details

Provenance
bzAuthored on Nov 24 2021, 5:36 PM
Parents
rGc269193a8470: net80211: radiotap add another define
Branches
Unknown
Tags
Unknown