summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/main.c
diff options
context:
space:
mode:
authorGuy Mishol <guym@ti.com>2014-12-29 09:24:12 +0300
committerKalle Valo <kvalo@codeaurora.org>2015-01-09 16:48:03 +0300
commit1cd91b2c4d8a5ebe9ba7874fcd45ee2b9b444b04 (patch)
tree0539f0e9f85ec39425aa7178dff5ca5376bc1296 /drivers/net/wireless/ti/wlcore/main.c
parent4ce9fad35a4ae21c393a89001b8ef33fa8c2033b (diff)
downloadlinux-1cd91b2c4d8a5ebe9ba7874fcd45ee2b9b444b04.tar.xz
wlcore: add dfs region to reg domain update cmd
Add dfs region to the reg domain channel update command. Signed-off-by: Guy Mishol <guym@ti.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/main.c')
-rw-r--r--drivers/net/wireless/ti/wlcore/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c
index a393ae8fa81b..e90fb781a6a1 100644
--- a/drivers/net/wireless/ti/wlcore/main.c
+++ b/drivers/net/wireless/ti/wlcore/main.c
@@ -82,6 +82,10 @@ static void wl1271_reg_notify(struct wiphy *wiphy,
struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
struct wl1271 *wl = hw->priv;
+ /* copy the current dfs region */
+ if (request)
+ wl->dfs_region = request->dfs_region;
+
wlcore_regdomain_config(wl);
}