summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2018-10-26 14:00:29 +0200
committerFelix Fietkau <nbd@nbd.name>2018-11-30 12:21:43 +0100
commitc69505367c2a81683a35b0ff263485f41fe19c89 (patch)
tree263d42d29051c63abd3a9194660b5db77339e95b /drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c
parent3d2d61b5f7a52936e8ec01fa55ace709d52eacc2 (diff)
downloadlinux-stable-c69505367c2a81683a35b0ff263485f41fe19c89.tar.gz
linux-stable-c69505367c2a81683a35b0ff263485f41fe19c89.tar.bz2
linux-stable-c69505367c2a81683a35b0ff263485f41fe19c89.zip
mt76: remove wait argument from mt76x02_mcu_set_radio_state
Remove wait argument from mt76x02_mcu_set_radio_state and newer wait for response when sending CMD_POWER_SAVING_OP mcu command. Note this change behaviour for PCIe devices, but the change is in align with vendor driver. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c
index ca9037af804c..45a95ee3a415 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c
@@ -262,5 +262,5 @@ int mt76x2u_mcu_init(struct mt76x02_dev *dev)
if (err < 0)
return err;
- return mt76x02_mcu_set_radio_state(dev, true, false);
+ return mt76x02_mcu_set_radio_state(dev, true);
}