3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

treewide: Switch to CamelCase for Blacklist settings

This commit is contained in:
Denis Kenzior 2019-10-24 13:37:18 -05:00
parent aa13f5458d
commit d66139fe34
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[Blacklist]
bss_blacklist_time=10
InitialTimeout=10
[Scan]
disable_mac_randomization=true

View File

@ -156,7 +156,7 @@ static int blacklist_init(void)
{
const struct l_settings *config = iwd_get_config();
if (!l_settings_get_uint64(config, "Blacklist", "bss_blacklist_time",
if (!l_settings_get_uint64(config, "Blacklist", "InitialTimeout",
&blacklist_initial_timeout))
blacklist_initial_timeout = BLACKLIST_DEFAULT_TIMEOUT;
@ -164,12 +164,12 @@ static int blacklist_init(void)
blacklist_initial_timeout *= 1000000;
if (!l_settings_get_uint64(config, "Blacklist",
"bss_blacklist_multiplier",
"Multiplier",
&blacklist_multiplier))
blacklist_multiplier = BLACKLIST_DEFAULT_MULTIPLIER;
if (!l_settings_get_uint64(config, "Blacklist",
"bss_blacklist_max_time",
"MaximumTimeout",
&blacklist_max_timeout))
blacklist_max_timeout = BLACKLIST_DEFAULT_MAX_TIMEOUT;