aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@qca.qualcomm.com>2011-10-11 13:59:03 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-11-21 16:20:41 -0500
commitb68e6b3b33b208c5690355fd9804ea65cc53d3a5 (patch)
tree0a7e3e90519d9dfaeb1c79de176172940be553a3 /net
parent8b60b07805d557542160d852874fa6a1b969184e (diff)
cfg80211: pass DFS region to drivers through reg_notifier()
This grants drivers access to the DFS region that a regulatory domain belongs to. Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/wireless/reg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 69141ed1f6df..b66444d048d5 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -1121,6 +1121,8 @@ static void wiphy_update_regulatory(struct wiphy *wiphy,
1121 if (ignore_reg_update(wiphy, initiator)) 1121 if (ignore_reg_update(wiphy, initiator))
1122 return; 1122 return;
1123 1123
1124 last_request->dfs_region = cfg80211_regdomain->dfs_region;
1125
1124 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 1126 for (band = 0; band < IEEE80211_NUM_BANDS; band++) {
1125 if (wiphy->bands[band]) 1127 if (wiphy->bands[band])
1126 handle_band(wiphy, band, initiator); 1128 handle_band(wiphy, band, initiator);