OSDN Git Service

mt76x2: use mt76_dev instead of mt76x2_dev in mt76x2_mcu_msg_send
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sun, 9 Sep 2018 21:57:59 +0000 (23:57 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:31:35 +0000 (12:31 +0200)
commit0ed821bbbb0382770ae74a1fa21f51eded9ae895
tree7f0ccda1686fc94c5260c7aca69112d35f75d47b
parent27db1ad10f2e6fdb22bb7c6200c57e35076b684d
mt76x2: use mt76_dev instead of mt76x2_dev in mt76x2_mcu_msg_send

Use mt76_dev data structure instead of mt76x2_dev one in mt76x2_mcu_msg_send
and mt76x2_mcu_get_response routines. Moreover add wait_resp parameter to
mt76x2_mcu_msg_send signature. This is a preliminary patch in order to unify
mcu_msg_alloc()/mcu_msg_send() between pcie and usb code

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