]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix WEP in AP and IBSS mode
authorMarek Puzyniak <marek.puzyniak@tieto.com>
Tue, 13 Aug 2013 09:45:22 +0000 (11:45 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 14 Aug 2013 15:05:50 +0000 (18:05 +0300)
commitd189e74c35a2d36989521b41995aa5520a9213e0
tree4d67381b99504e16033d1fe2d1db9deea5ee2083
parent6e19865e7ef194efdb7c73b02e9a82fecacd4100
ath10k: fix WEP in AP and IBSS mode

WEP encoding was not working properly for AP and IBSS mode.
TX frames were encrypted with default WEP tx key index set
always to zero, what sometimes was wrong when different
key index should be used. This patch allows to update
WEP key index also for AP and IBSS mode.
Problem detected during automated WEP tests.

Signed-off-by: Marek Puzyniak <marek.puzyniak@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c