--- 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; }