diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-10-03 20:19:56 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-10-03 20:19:56 +0000 |
commit | f22c4413f58e1caf03db48052895f1668dcb290b (patch) | |
tree | 41979ed7d44f891824d661c8eaa15aae73043673 /Makefile.cross | |
parent | 34576ac03b936cfaeb71fd1552bd8ce87b58abbc (diff) |
Apparently some athn(4) variants are buggy and may hand us corrupt frames
that are marked "ok". Linux has some workarounds for this and checks whether
the status word has error bits set in it regardless of the bit that marks
the frame as "ok". Adapt this workaround to our driver and drop the frame
after setting input errors. This doesn't filter out all corrupted frames,
but it does keep things down to a level where it doesn't fill up the node
cache anymore when athn(4) is used in hostap mode.
Seen with:
athn0 at pci1 dev 0 function 0 "Atheros AR9281" rev 0x01: intx
athn0: AR9280 rev 2 (2T2R), ROM rev 16, address xx:xx:xx:xx:xx:xx
ok stsp@
Diffstat (limited to 'Makefile.cross')
0 files changed, 0 insertions, 0 deletions