]> git.karo-electronics.de Git - linux-beck.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)
commit15677a7dbe22976a5cb787a7352ac86bbd196cf1
tree2f2ebd0ee1442061c90da4fb9606b1c9fd236b59
parent7c8cc7eb4f08d8de2cc2a4b093bad1499b47eb45
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