diff mbox

[v2,01/10] mwifiex: do not send regulatory update while starting AP

Message ID 1422440665-3940-2-git-send-email-patila@marvell.com (mailing list archive)
State Accepted
Delegated to: Kalle Valo
Headers show

Commit Message

Avinash Patil Jan. 28, 2015, 10:24 a.m. UTC
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>
---
 drivers/net/wireless/mwifiex/cfg80211.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Kalle Valo Jan. 29, 2015, 8:26 a.m. UTC | #1
> 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>

Thanks, 10 patches applied to wireless-drivers-next.git:

6144369f8b4b mwifiex: do not send regulatory update while starting AP
35c739b50d78 mwifiex: store AP configuration in private structure
b0d4c5ec9730 mwifiex: update IEs after AP has started
b654ca182a2f mwifiex: refactor start_ap handler
2ade5667e2e0 mwifiex: separate function for parsing head and tail IEs
85afb18621be mwifiex: add cfg80211 start_radar_detection handler
0a694d68651b mwifiex: support for channel report for radar detection
3b57c1a713a9 mwifiex: handle radar detect event from FW
7d652034d1a0 mwifiex: channel switch support for mwifiex
cf075eac9ca9 mwifiex: 11h handling for AP interface

Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index 30ea94a..1acccc5 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,
 		priv->adapter->config_bands = config_bands;
 
 	mwifiex_set_uap_rates(bss_cfg, params);
-	mwifiex_send_domain_info_cmd_fw(wiphy);
 
 	if (mwifiex_set_secure_params(priv, bss_cfg, params)) {
 		kfree(bss_cfg);