HomeFreeBSD

net80211: simplify an #ifdef INET/INET6 block

Description

net80211: simplify an #ifdef INET/INET6 block

I got lost in the #ifdef #endif here so I changed the code to a
switch block with two non-overlapping #ifdef parts and a default
which makes it a lot easier to read.

No functional changes.

Sponsored by: The FreeBSD Foundation
Reviewed by: (zlei.huang gmail.com)
Differential Revision: https://reviews.freebsd.org/D36411

(cherry picked from commit 8def06d5afdcd8020a039b1de994cfe6ad18229e)

Details

Provenance
bzAuthored on Aug 31 2022, 10:35 PM
Differential Revision
D36411: net80211: simplify an #ifdef INET/INET6 block
Parents
rG4e1153c4c3be: net80211 / drivers: rename to IEEE80211_FC0_SUBTYPE_QOS_DATA
Branches
Unknown
Tags
Unknown