mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 02:00:41 +00:00
lakka: consider the identifiers in connmanctl services output
This commit is contained in:
parent
9ec8781a2a
commit
2641c1214c
@ -140,7 +140,12 @@ static bool connmanctl_connect_ssid(unsigned i, const char* passphrase)
|
||||
const char *line = lines->elems[i].data;
|
||||
|
||||
static struct string_list* list = NULL;
|
||||
list = string_split(line, " ");
|
||||
// connmanctl services outputs a 4 character prefixed lines, either whispace
|
||||
// or an identifier. i.e.:
|
||||
// $ connmanctl services
|
||||
// '*A0 SSID some_unique_id'
|
||||
// ' SSID some_another_unique_id'
|
||||
list = string_split(line+4, " ");
|
||||
if(!list)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user