if_iwm - Fix inverted logic in iwm_tx().
commit8cc03924a36c572c2908e659e624f44636dc2b33
authorImre Vadász <imre@vdsz.com>
Sun, 24 Jul 2016 19:11:29 +0000 (24 21:11 +0200)
committerImre Vadász <imre@vdsz.com>
Mon, 25 Jul 2016 21:46:55 +0000 (25 23:46 +0200)
tree02078ec4dde057ba22468379764c3702c32f9f15
parent5a3a4cf3015daa531c5cc0fa59890c221b217b52
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