[lvc-project] [PATCH] wifi: brcmfmac: do not cast hidden SSID attribute value to boolean
andy.shevchenko at gmail.com
andy.shevchenko at gmail.com
Mon Feb 19 21:25:05 MSK 2024
Thu, Feb 08, 2024 at 11:51:21AM +0300, Alexey Berezhok kirjoitti:
...
> - settings->hidden_ssid ?
> + (settings->hidden_ssid != NL80211_HIDDEN_SSID_NOT_IN_USE) ?
> "enabled" : "disabled",
Can somebody switch this to use str_enabled_disabled() from string_choices.h?
Ideally, add str_disabled_enabled() in that header (as macro with negation on
its argument) and use here as
str_disabled_enabled(settings->hidden_ssid == NL80211_HIDDEN_SSID_NOT_IN_USE)
--
With Best Regards,
Andy Shevchenko
More information about the lvc-project
mailing list