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)
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

Simple merge