linux_dsm_epyc7002/drivers/net/wireless/ath
Felix Fietkau 8e67ca7c92 ath9k: fix crash with WEP in ad-hoc mode
Commit eed8e22f01 added support for using
multicast key lookup to support per-vif/sta keys for AP and ad-hoc.
Unfortunately, it also introduced a crash in ad-hoc mode when the sta
pointer is NULL, which happens when setting up an interface with WEP
keys. This patch fixes it by falling back to the assigned key index.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reported-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-07-02 13:44:38 -04:00
..
ar9170 ar9170usb: fix read from freed driver context 2010-05-26 14:49:48 -04:00
ath5k ath5k: fix antenna div gc for <= AR5K_SREV_PHY_2413 2010-06-28 15:16:19 -04:00
ath9k ath9k: fix crash with WEP in ad-hoc mode 2010-07-02 13:44:38 -04:00
ath.h ath: Add buffered register write operations 2010-04-16 15:47:04 -04:00
debug.c
debug.h
hw.c
Kconfig
main.c
Makefile
reg.h
regd_common.h
regd.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
regd.h