HomeFreeBSD

LinuxKPI: 802.11: fix a -Wenum-compare warning

Description

LinuxKPI: 802.11: fix a -Wenum-compare warning

We are asserting that two values from different enums are the same.
gcc warns about these. Cast the values to (int) to avoid the warning.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit f369f10dd8122b1cd1282a378fb16ba81a712a74)

Details

Provenance
bzAuthored on Apr 19 2023, 9:40 PM
Parents
rGecb6cab8288b: iwlwifi: quieten more compiler warnings
Branches
Unknown
Tags
Unknown