mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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 <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
15cb426adf
commit
cd76a835bb
+1
-1
@@ -292,7 +292,7 @@ void mt76x2u_stop_hw(struct mt76x02_dev *dev)
|
||||
|
||||
void mt76x2u_cleanup(struct mt76x02_dev *dev)
|
||||
{
|
||||
mt76x02_mcu_set_radio_state(dev, false, false);
|
||||
mt76x02_mcu_set_radio_state(dev, false);
|
||||
mt76x2u_stop_hw(dev);
|
||||
mt76u_queues_deinit(&dev->mt76);
|
||||
mt76u_mcu_deinit(&dev->mt76);
|
||||
|
||||
Reference in New Issue
Block a user