mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7925: refactor regulatory notifier flow
Rename mt7925_regd_update() to mt7925_mcu_regd_update() to centralize regd updates with error handling. Signed-off-by: Ming Yen Hsieh <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
f0e8fe4414
commit
588cc87bf6
+1
-1
@@ -585,7 +585,7 @@ static int _mt7925_pci_resume(struct device *device, bool restore)
|
||||
if (!pm->ds_enable)
|
||||
mt7925_mcu_set_deep_sleep(dev, false);
|
||||
|
||||
mt7925_regd_update(dev);
|
||||
mt7925_mcu_regd_update(dev, mdev->alpha2, dev->country_ie_env);
|
||||
failed:
|
||||
pm->suspended = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user