Commit d9429d03 authored by Soontak Lee's avatar Soontak Lee Committed by Kalle Valo

brcmfmac: Fix for unable to return to visible SSID

Unable to change back to visiable SSID because there is
no disable hidden ssid routine.
Signed-off-by: default avatarSoontak Lee <soontak.lee@cypress.com>
Signed-off-by: default avatarChi-Hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200618160739.21457-2-chi-hsien.lin@cypress.com
parent ad96bc27
...@@ -4835,12 +4835,14 @@ brcmf_cfg80211_start_ap(struct wiphy *wiphy, struct net_device *ndev, ...@@ -4835,12 +4835,14 @@ brcmf_cfg80211_start_ap(struct wiphy *wiphy, struct net_device *ndev,
goto exit; goto exit;
} }
if (settings->hidden_ssid) { err = brcmf_fil_iovar_int_set(ifp, "closednet",
err = brcmf_fil_iovar_int_set(ifp, "closednet", 1); settings->hidden_ssid);
if (err) { if (err) {
bphy_err(drvr, "closednet error (%d)\n", err); bphy_err(drvr, "%s closednet error (%d)\n",
goto exit; settings->hidden_ssid ?
} "enabled" : "disabled",
err);
goto exit;
} }
brcmf_dbg(TRACE, "AP mode configuration complete\n"); brcmf_dbg(TRACE, "AP mode configuration complete\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment