mwifiex: uap: support cfg80211 ignore_broadcast_ssid=2

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>
This commit is contained in:
Xinming Hu 2018-04-02 20:31:23 +08:00 committed by Kalle Valo
parent d6c38be09a
commit c1003538bf
1 changed files with 2 additions and 1 deletions

View 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;