ath10k: fix WPA crypto
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 9 Mar 2015 13:24:17 +0000 (14:24 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 12 Mar 2015 12:35:51 +0000 (14:35 +0200)
commit7cc4573e85cd7f7179fdfe0b7d3114a4fbdd6f2a
treeb33929df5f32ef20c398225ea64b37d49d5f8f17
parentbff414c3d2cb327d4fff22277ac89b8e00d70164
ath10k: fix WPA crypto

Commit 370e567363e6 ("ath10k: fix broken traffic for 802.1x in client mode")
introduced a regression on WPA crypto. All keys were treated as if they were
WEP which resulted in WPA being incorrectly installed to fw/hw and subsequently
no traffic.

Reported-by: Marek Puzyniak <marek.puzyniak@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