mt76: move ieee80211_hw allocation to common core
authorFelix Fietkau <nbd@nbd.name>
Sun, 20 May 2018 05:43:47 +0000 (07:43 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 23 May 2018 07:58:13 +0000 (10:58 +0300)
commita85b590cf55f0789efcdd347b69c9e8ad6c3dcc7
tree27014c072b21202b71db085b35a59ad7c1f5a321
parenta164a94212ceb606d40e92db7a58e9dbcb3ff74e
mt76: move ieee80211_hw allocation to common core

Allows it to be shared between different drivers and locks to be
initialized earlier

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mac80211.c
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt76x2_init.c