if_iwm - Fix inverted logic in iwm_tx().
commitb5297f91a9b59c808e4440d8403ec513cfd7dd1c
authorImre Vadász <imre@vdsz.com>
Sun, 24 Jul 2016 19:11:29 +0000 (24 21:11 +0200)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 25 Jul 2016 23:16:26 +0000 (25 16:16 -0700)
treec7429f9d14b4dfdff34ae71e4586e59f3efc6758
parent5799c0274e83b656b70f531bb9f3827c01219814
if_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
sys/dev/netif/iwm/if_iwm.c