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>
This commit is contained in:
committed by
John W. Linville
parent
8b60b07805
commit
b68e6b3b33
@ -1121,6 +1121,8 @@ static void wiphy_update_regulatory(struct wiphy *wiphy,
|
||||
if (ignore_reg_update(wiphy, initiator))
|
||||
return;
|
||||
|
||||
last_request->dfs_region = cfg80211_regdomain->dfs_region;
|
||||
|
||||
for (band = 0; band < IEEE80211_NUM_BANDS; band++) {
|
||||
if (wiphy->bands[band])
|
||||
handle_band(wiphy, band, initiator);
|
||||
|
Reference in New Issue
Block a user