mt76: fix tkip configuration for mt7615/7663 devices
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 17 Oct 2020 15:15:25 +0000 (17:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:53:35 +0000 (11:53 +0100)
commit2952eef157b95ed615e7117b69a26f0dee7a6e44
tree2f65d827eac13eec1331c4f13d9aa3b291eb0716
parente2dea65052ee91b0f5c26758b3053bdc3ce714e3
mt76: fix tkip configuration for mt7615/7663 devices

[ Upstream commit 930e0eaddf810cfa90e114a0df02f48539e1346f ]

Fix Tx-Rx MIC overwrite during TKIP hw key configuration

Fixes: 01cfc1b45421 ("mt76: mt7615: add BIP_CMAC_128 cipher support")
Tested-by: YN Chen <yn.chen@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mt7615/mac.c