HomeFreeBSD

[iwm] Fix inverted logic in iwm_tx().

Description

[iwm] Fix inverted logic in iwm_tx().

The PROT_REQUIRE flag in should be set for data frames above a certain
length, but we were setting it for !data frames above a certain length,
which makes no sense at all.

Taken-From: OpenBSD, Linux iwlwifi

Approved by: adrian (mentor)
Obtained from: DragonFlyBSD git 8cc03924a36c572c2908e659e624f44636dc2b33
Differential Revision: https://reviews.freebsd.org/D7323

Details

Provenance
ivadaszAuthored on
Differential Revision
D7323: [iwm] Fix inverted logic in iwm_tx().
Parents
rS303412: Remove myself from kern_timeout.c yeah!
Branches
Unknown
Tags
Unknown