ath10k: avoid to set WEP key for TDLS peer
authorYingying Tang <yintang@qti.qualcomm.com>
Wed, 28 Mar 2018 09:15:23 +0000 (12:15 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Mar 2018 09:00:12 +0000 (12:00 +0300)
commitc3816c9ee12c235dde8f382619a38a5ce86fb548
tree1e3fb39ca50ac66ea12d156771fd6947267cf473
parent4c9f8d114660c68b43918f671bd8fc6bdf3bdbd8
ath10k: avoid to set WEP key for TDLS peer

TDLS peer do not need WEP key. Setting WEP key will lead
to TDLS setup failure. Add fix to avoid setting WEP key
for TDLS peer.

Signed-off-by: Yingying Tang <yintang@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c