freebsd-skq/sys/dev/ral
kevans c0c074da93 ral: rt2860: fix wcid2ni access/size issue
RT2860_WCID_MAX is supposed to describe the max STA index for wcid2ni, and
was instead being used as the size -- off-by-one.

rt2860_drain_stats_fifo was range-checking wcid only after accessing
out-of-bounds potentially.

Submitted by:	Augustin Cavalier <waddlesplash@gmail.com> (basically)
Obtained from:	Haiku (58d16d9fe2d5a209cf22823359a8407d138e1a87)
Differential Revision:	3 days
2019-08-06 20:21:57 +00:00
..
if_ral_pci.c
rt2560.c
rt2560reg.h
rt2560var.h
rt2661.c
rt2661reg.h
rt2661var.h
rt2860.c
rt2860reg.h
rt2860var.h