diff options
author | Avinash Patil <patila@marvell.com> | 2015-01-28 05:24:16 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-29 03:21:53 -0500 |
commit | 6144369f8b4bb8a74a1b0dbe06340df2a69b79c1 (patch) | |
tree | f7f86d867e0ea93d12397814e8369945dabddb6f /drivers/net/wireless/mwifiex | |
parent | 047eaaf64503c2902d1e054d5b944de18d14b28c (diff) |
mwifiex: do not send regulatory update while starting AP
When regulatory domain changes, cfg80211 already issues request
to change regulatory domain to driver via reg_notifier.
There is no need to set regulatory again during start_ap.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Qingshui Gao <gaoqs@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex')
-rw-r--r-- | drivers/net/wireless/mwifiex/cfg80211.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index 30ea94a1767c..1acccc5658b5 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.c +++ b/drivers/net/wireless/mwifiex/cfg80211.c | |||
@@ -1739,7 +1739,6 @@ static int mwifiex_cfg80211_start_ap(struct wiphy *wiphy, | |||
1739 | priv->adapter->config_bands = config_bands; | 1739 | priv->adapter->config_bands = config_bands; |
1740 | 1740 | ||
1741 | mwifiex_set_uap_rates(bss_cfg, params); | 1741 | mwifiex_set_uap_rates(bss_cfg, params); |
1742 | mwifiex_send_domain_info_cmd_fw(wiphy); | ||
1743 | 1742 | ||
1744 | if (mwifiex_set_secure_params(priv, bss_cfg, params)) { | 1743 | if (mwifiex_set_secure_params(priv, bss_cfg, params)) { |
1745 | kfree(bss_cfg); | 1744 | kfree(bss_cfg); |