mwifiex: do not advertise custom regulatory domain capability
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 13 Dec 2011 03:56:58 +0000 (19:56 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Dec 2011 20:48:38 +0000 (15:48 -0500)
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>
drivers/net/wireless/mwifiex/cfg80211.c

index 0db97cc84cb4556af9d0d5f44097dd384f20b0ac..ffd293e2b87fde4693837c0ab9406db557e1487f 100644 (file)
@@ -1376,9 +1376,6 @@ int mwifiex_register_cfg80211(struct mwifiex_private *priv)
        memcpy(wdev->wiphy->perm_addr, priv->curr_addr, ETH_ALEN);
        wdev->wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
 
-       /* We are using custom domains */
-       wdev->wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY;
-
        /* Reserve space for bss band information */
        wdev->wiphy->bss_priv_size = sizeof(u8);