1
0
Fork 0
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:
Derek Dai 2017-04-14 15:08:39 +08:00
parent c2fc985624
commit 2e7c11d265
4 changed files with 10 additions and 10 deletions

View file

@ -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;