aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/if_ath.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r--sys/dev/ath/if_ath.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 782b790a3a00..1208f1d44dbe 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -5031,6 +5031,13 @@ ath_setregdomain(struct ieee80211com *ic, struct ieee80211_regdomain *reg,
__func__, status);
return EINVAL; /* XXX */
}
+
+ /*
+ * Setting country code might change the DFS domain
+ * so initialize the DFS Radar filters
+ */
+ ath_dfs_init_radar_filters(sc);
+
return 0;
}