mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle-wifid: rename link_set_managed()
rename to prevent confusing with managed event notification Change-Id: I0f0d01f97156044bbb225e199b2717d5ea9c1a24
This commit is contained in:
parent
c2fc985624
commit
2e7c11d265
4 changed files with 10 additions and 10 deletions
|
@ -123,7 +123,7 @@ void link_free(struct link *l)
|
|||
|
||||
log_debug("free link: %s (%u)", l->ifname, l->ifindex);
|
||||
|
||||
link_set_managed(l, false);
|
||||
link_manage(l, false);
|
||||
|
||||
link_dbus_removed(l);
|
||||
l->public = false;
|
||||
|
@ -135,7 +135,7 @@ void link_free(struct link *l)
|
|||
|
||||
supplicant_free(l->s);
|
||||
|
||||
/* link_set_managed(l, false) already removed all peers */
|
||||
/* link_manage(l, false) already removed all peers */
|
||||
shl_htable_clear_str(&l->peers, NULL, NULL);
|
||||
|
||||
free(l->mac_addr);
|
||||
|
@ -180,7 +180,7 @@ bool link_get_managed(struct link *l)
|
|||
return l->managed;
|
||||
}
|
||||
|
||||
int link_set_managed(struct link *l, bool set)
|
||||
int link_manage(struct link *l, bool set)
|
||||
{
|
||||
int r;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue