]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix static wep with more than 1 key in client mode
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 1 Apr 2015 19:53:20 +0000 (22:53 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 9 Apr 2015 12:00:11 +0000 (15:00 +0300)
commit58e9914581295bc3cc935c63e7234a10faa1271d
tree2f2ebd0ee1442061c90da4fb9606b1c9fd236b59
parent1669b191f71b8600329a1b616ed01373d582e857
ath10k: fix static wep with more than 1 key in client mode

The default keyidx callback may be called after
more than 1 key is installed. This led to only 1
WEP key being reinstalled only. This caused Rxed
traffic encrypted with other WEP keys to be
dropped in client mode.

Tested-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c