mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: remove wait argument from mt76x02_mcu_function_select
Remove wait argument from mt76x02_mcu_function_select and wait for response when function is not Q_SELECT, what is the same behaviour like in vendor driver. Note this change behaviour for PCIe devices for Q_SELECT function form wait to no-wait, and for mt76x0u BW_SETTING from no-wait to wait. 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
94ad030758
commit
15cb426adf
+1
-1
@@ -500,7 +500,7 @@ mt76x0_phy_bbp_set_bw(struct mt76x02_dev *dev, enum nl80211_chan_width width)
|
||||
return ;
|
||||
}
|
||||
|
||||
mt76x02_mcu_function_select(dev, BW_SETTING, bw, false);
|
||||
mt76x02_mcu_function_select(dev, BW_SETTING, bw);
|
||||
}
|
||||
|
||||
static void mt76x0_phy_tssi_dc_calibrate(struct mt76x02_dev *dev)
|
||||
|
||||
Reference in New Issue
Block a user