mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
14 lines
356 B
Diff
14 lines
356 B
Diff
--- a/drivers/net/wireless/ath/regd.c
|
|
+++ b/drivers/net/wireless/ath/regd.c
|
|
@@ -511,6 +511,10 @@ static int __ath_reg_dyn_country(struct
|
|
|
|
ath_reg_apply_world_flags(wiphy, request->initiator, reg);
|
|
|
|
+ // apply regulatory to phy devices
|
|
+ if (regulatory_hint(wiphy, reg->alpha2))
|
|
+ printk(KERN_DEBUG "ath: regulatory_hint error!\n");
|
|
+
|
|
return 0;
|
|
}
|
|
|