diff options
Diffstat (limited to 'plugins/wifi.c')
-rw-r--r-- | plugins/wifi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index 87ad8ccc..494f53bc 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -182,9 +182,9 @@ static void scan_result(struct connman_element *parent, for (i = 0; i < strlen(temp); i++) { if (temp[i] == ' ' || temp[i] == '.' || temp[i] == '-') temp[i] = '_'; - if (temp[i] == '(' || temp[i] == ')') + else if (temp[i] == '(' || temp[i] == ')') temp[i] = '_'; - if (g_ascii_isprint(temp[i]) == FALSE) + else if (g_ascii_isprint(temp[i]) == FALSE) temp[i] = '_'; temp[i] = g_ascii_tolower(temp[i]); } |