mt76x2u: init: use common routines for wcid/key initialization
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Mon, 29 Oct 2018 21:16:50 +0000 (22:16 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 30 Nov 2018 11:21:43 +0000 (12:21 +0100)
commit016ebffba18f6f792ad346c5b62941970f0e5b45
tree07bea24b6e83eba66aa1b848d3175d822d90f960
parent40b63348030a080e6438d19d354b8e29165fa67a
mt76x2u: init: use common routines for wcid/key initialization

Use mt76x02_mac_wcid_setup and mt76x02_mac_shared_key_setup for
shared keys and wcid table 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/mt76x2/usb_init.c