OSDN Git Service

mwifiex: uap: support cfg80211 ignore_broadcast_ssid=2
authorXinming Hu <huxm@marvell.com>
Mon, 2 Apr 2018 12:31:23 +0000 (20:31 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 25 Apr 2018 08:17:45 +0000 (11:17 +0300)
Firmware already support hidden ssid and keep ssid length,
Open the capability in driver.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c

index 7f7e9de..4857b75 100644 (file)
@@ -1979,7 +1979,8 @@ static int mwifiex_cfg80211_start_ap(struct wiphy *wiphy,
                bss_cfg->bcast_ssid_ctl = 0;
                break;
        case NL80211_HIDDEN_SSID_ZERO_CONTENTS:
-               /* firmware doesn't support this type of hidden SSID */
+               bss_cfg->bcast_ssid_ctl = 2;
+               break;
        default:
                kfree(bss_cfg);
                return -EINVAL;