mt76: move mt76_mcu_rx_event in mt76-core
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Mon, 4 Feb 2019 16:51:29 +0000 (17:51 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 18 Feb 2019 18:54:33 +0000 (19:54 +0100)
commitc07a49d475b427e33d15780364bdeb64507d338a
treee0453b9de92710669e1f62eb08252746bd42faf2
parent680abb25f71caf3871c8619bee3bbc3818dcd3a7
mt76: move mt76_mcu_rx_event in mt76-core

Move mt76_mcu_rx_event i mt76-core module and remove duplicated code.
mt76_mcu_rx_event will be reused adding support for mt7603 driver

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