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)
commit68c8a9b22eeec0b57ba261eec5b642ec1cc5fa16
tree4d67381b99504e16033d1fe2d1db9deea5ee2083
parent7f8a62db4ba9d08d2bacf126b442d43ea47b22a8
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