mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
Do not fail if peers are found before links
After discover peers, a miracle-sinkctl restart can lead to peers without links. Just ignore that
This commit is contained in:
parent
8d6530ebc9
commit
62c5b8daa8
1 changed files with 1 additions and 1 deletions
|
@ -823,7 +823,7 @@ static int ctl_wifi_parse_peer(struct ctl_wifi *w,
|
|||
|
||||
l = ctl_wifi_find_link_by_peer(w, label);
|
||||
if (!l)
|
||||
return cli_EINVAL();
|
||||
return 0;
|
||||
|
||||
r = ctl_peer_new(&p, l, label);
|
||||
if (r < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue