aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2011-12-12 22:56:58 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-12-13 15:48:38 -0500
commitc2521653f4f299b8946fb7073ac90ed5d3d5de7c (patch)
treef0dacdf19f86224e1f65ae88238949ad56c0af98 /drivers/net/wireless/mwifiex
parenteb032f03cbf7ac7baf78ae89a832100561bf0e29 (diff)
mwifiex: do not advertise custom regulatory domain capability
mwifiex driver no longer supports it's own custom regulatory rules, but custom regulatory domain capability is still advertised during wiphy registration by the driver. 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>
Diffstat (limited to 'drivers/net/wireless/mwifiex')
-rw-r--r--drivers/net/wireless/mwifiex/cfg80211.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index 0db97cc84cb4..ffd293e2b87f 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -1376,9 +1376,6 @@ int mwifiex_register_cfg80211(struct mwifiex_private *priv)
1376 memcpy(wdev->wiphy->perm_addr, priv->curr_addr, ETH_ALEN); 1376 memcpy(wdev->wiphy->perm_addr, priv->curr_addr, ETH_ALEN);
1377 wdev->wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM; 1377 wdev->wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
1378 1378
1379 /* We are using custom domains */
1380 wdev->wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY;
1381
1382 /* Reserve space for bss band information */ 1379 /* Reserve space for bss band information */
1383 wdev->wiphy->bss_priv_size = sizeof(u8); 1380 wdev->wiphy->bss_priv_size = sizeof(u8);
1384 1381