Skip to content
Commit 379e5e83 authored by Alexey Berezhok's avatar Alexey Berezhok Committed by Kalle Valo
Browse files

wifi: brcmfmac: do not pass hidden SSID attribute as value directly

In brcmf_cfg80211_start_ap() do not assume that NL80211_HIDDEN_SSID_NOT_IN_USE
is zero but prefer an explicit check instead. Use local variable 'closednet'
to pass in function call and use for error message.

Compile tested only. Addition for the commit f20073f5

 ("wifi: brcmfmac: do
not cast hidden SSID attribute value to boolean").

Signed-off-by: default avatarAlexey Berezhok <a@bayrepo.ru>
Acked-by: default avatarArend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240222122923.46691-1-a@bayrepo.ru
parent 53fe234f
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