mwifiex: do not send regulatory update while starting AP
authorAvinash Patil <patila@marvell.com>
Wed, 28 Jan 2015 10:24:16 +0000 (15:54 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Jan 2015 08:21:53 +0000 (10:21 +0200)
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>
drivers/net/wireless/mwifiex/cfg80211.c

index 30ea94a1767cb023eb050c245a9bab77cd5f8376..1acccc5658b53973184416e2a2161eb995e8d071 100644 (file)
@@ -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);
This page took 0.026168 seconds and 5 git commands to generate.