ath10k: change static wep key handling for client mode
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 10 Apr 2015 13:05:58 +0000 (13:05 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 17 Apr 2015 06:34:59 +0000 (09:34 +0300)
commit29a100065ef58e22aa2486676cf1b448a289b063
tree8b4723127d8e7c33535ddc82d90dfb8269405c10
parent36d8230b7d4fcd6f1a0c98b579d229bc919fa1fb
ath10k: change static wep key handling for client mode

mac80211 sets static WEP keys as groupwise while
firmware requires them to be installed twice as
both pairwise and groupwise.

Until now these keys were installed once as
pairwise only and, due to that special handling,
needed additional tricks to support 802.1x as
well.

Without this patch in some cases (when AP and
ath10k client use different default tx keys)
multicast communication was broken.

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