mt76x0: init: use mt76x02_mac_shared_key_setup in mt76x0_init_hardware
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sun, 28 Oct 2018 22:54:36 +0000 (23:54 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 30 Nov 2018 11:21:42 +0000 (12:21 +0100)
commit48c76588221b49e7d46e6f3c26bce0318fbea97a
tree826ff566981e7d89be5803f2775d9ade80652671
parent0464cbfc36ac35700d572925769d7c73b3744798
mt76x0: init: use mt76x02_mac_shared_key_setup in mt76x0_init_hardware

Use mt76x02_mac_shared_key_setup utility routine for shared key
initialization and remove duplicated code

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/init.c