commit | 0987295750574adc59999b8fb9890834574bc4e2 | [log] [tgz] |
---|---|---|
author | Lorenzo Bianconi <lorenzo@kernel.org> | Sat Feb 08 13:44:28 2020 +0100 |
committer | Felix Fietkau <nbd@nbd.name> | Fri Feb 14 10:17:46 2020 +0100 |
tree | 6ffe95f977b5035defac7d5cad7e9e634eb11496 | |
parent | a9fddf08ec666037c51546bc4e09a79998263944 [diff] |
mt76: Introduce mt76_mcu data structure Introduce mt76_mcu data structure to contain common fields between mt76u_mcu and mt76e_mcu. Initialize mcu common fields in mt76_alloc_device(). Rely on mt76_mcu in mt76_mcu_rx_event and in mt76_mcu_get_response in order to reuse them in usb code Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>