3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 10:29:03 +02:00

client: Fix network name completion

Exclude the network names that are shorter then the query text
from the autocompletion network name list.
This commit is contained in:
Tim Kourt 2019-10-25 10:26:07 -07:00 committed by Denis Kenzior
parent 0d7fbfe523
commit 75b7d18e0c

View File

@ -228,6 +228,9 @@ static bool match_by_partial_name(const void *a, const void *b)
return false;
}
if (*text)
return false;
return true;
}