mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-16 19:46:09 +07:00
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: Soontak Lee <soontak.lee@cypress.com> Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200618160739.21457-2-chi-hsien.lin@cypress.com
This commit is contained in:
parent
ad96bc2703
commit
d9429d03b6
@ -4835,12 +4835,14 @@ 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);
|
||||
if (err) {
|
||||
bphy_err(drvr, "closednet error (%d)\n", err);
|
||||
goto exit;
|
||||
}
|
||||
err = brcmf_fil_iovar_int_set(ifp, "closednet",
|
||||
settings->hidden_ssid);
|
||||
if (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");
|
||||
|
Loading…
Reference in New Issue
Block a user