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,13 +4835,15 @@ brcmf_cfg80211_start_ap(struct wiphy *wiphy, struct net_device *ndev,
goto exit;
}
if (settings->hidden_ssid) {
err = brcmf_fil_iovar_int_set(ifp, "closednet", 1);
err = brcmf_fil_iovar_int_set(ifp, "closednet",
settings->hidden_ssid);
if (err) {
bphy_err(drvr, "closednet error (%d)\n", err);
bphy_err(drvr, "%s closednet error (%d)\n",
settings->hidden_ssid ?
"enabled" : "disabled",
err);
goto exit;
}
}
brcmf_dbg(TRACE, "AP mode configuration complete\n");
} else if (dev_role == NL80211_IFTYPE_P2P_GO) {
......
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