mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01: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:
parent
0d7fbfe523
commit
75b7d18e0c
@ -228,6 +228,9 @@ static bool match_by_partial_name(const void *a, const void *b)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (*text)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user