wpi(4): check size before transmitting frames
authoradrian <adrian@FreeBSD.org>
Thu, 8 Oct 2015 07:22:40 +0000 (07:22 +0000)
committeradrian <adrian@FreeBSD.org>
Thu, 8 Oct 2015 07:22:40 +0000 (07:22 +0000)
commit2d0e301063db285d84a7eb4db66731551fd7e8ce
tree97bd7af98783a800f465a74ed0b00a9f02fbbb55
parentd955774944356535e0309a24501a9011e407265c
wpi(4): check size before transmitting frames

In addition to https://bz-attachments.freebsd.org/attachment.cgi?id=156112;
fixes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=144987.

Tested:

* Tested with Intel 3945BG, STA mode

Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3762
sys/dev/wpi/if_wpi.c