aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2012-06-27 22:57:58 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-06-28 14:37:50 -0400
commit2041d7dff287333036145ba3aab57e3b675babef (patch)
treec66858c6be597db568a963740d9e9a99a21bf62b
parentcaa8984f59b8be220767886ae27de855f77e6a61 (diff)
mwifiex: do not advertise custom regulatory domain capability
Since we don't support custom regulatory domains, WIPHY_FLAG_CUSTOM_REGULATORY should not be enabled during wiphy registration. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/mwifiex/cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index 02d0ee8609fa..cf97c2aec8b4 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -1746,7 +1746,7 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
1746 1746
1747 memcpy(wiphy->perm_addr, priv->curr_addr, ETH_ALEN); 1747 memcpy(wiphy->perm_addr, priv->curr_addr, ETH_ALEN);
1748 wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM; 1748 wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
1749 wiphy->flags |= WIPHY_FLAG_HAVE_AP_SME | WIPHY_FLAG_CUSTOM_REGULATORY; 1749 wiphy->flags |= WIPHY_FLAG_HAVE_AP_SME;
1750 1750
1751 /* Reserve space for mwifiex specific private data for BSS */ 1751 /* Reserve space for mwifiex specific private data for BSS */
1752 wiphy->bss_priv_size = sizeof(struct mwifiex_bss_priv); 1752 wiphy->bss_priv_size = sizeof(struct mwifiex_bss_priv);