mt76: connac: move mt76_connac_mcu_get_cipher in common code
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 19 Dec 2021 17:40:11 +0000 (18:40 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 3 Feb 2022 12:57:57 +0000 (13:57 +0100)
commit09c874a1c9bbc8a61a7f72c4c7396d07820b3e1e
tree08aa0bf51473d3c8ac6fe754ff6e0065b3a4182f
parent069c8e341ad5376e4126568ca339207502b55ce9
mt76: connac: move mt76_connac_mcu_get_cipher in common code

Move mt76_connac_mcu_get_cipher in mt76-connac code and remove
duplicated code from mt7921 and mt7915 driver.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c