1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/dev/iwi
Bernhard Schmidt 82510b7eca The firmware does pad notifications to an even number of bytes (at least
the association notification), the included information though always
contains an elem block with an odd number of bytes. We handle the last
byte as if it might contain a whole elem block, this of course is not
true as one byte is not enough to hold a block, we therefore discard the
complete frame. The solution here is to subtract one from the actual
notification length, this is also what the Linux driver does. With this
change the frames ends exactly where the last elem block ends.

This commit also reverts r214160 which is no longer required and now even
wrong.

MFC after:	1 week
2010-10-23 11:26:22 +00:00
..
if_iwi.c The firmware does pad notifications to an even number of bytes (at least 2010-10-23 11:26:22 +00:00
if_iwireg.h
if_iwivar.h Fix monitor mode which is implemented by doing a firmware scan. This 2010-10-12 16:52:13 +00:00