eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 2dea8bcc6985b814058774e87e94d2536fe48693
parent c42de40a3b92cdc561db80c30ec9da215197f6a5
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Fri, 31 Jul 2020 03:31:30 +0200

p2p: Set p2p_own_wfd->available by default

We need to set this flag true when the WFD service is first registered
as there's no WFD session and we're available for a new session.

Diffstat:
Msrc/p2p.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/p2p.c b/src/p2p.c @@ -4327,6 +4327,9 @@ static struct l_dbus_message *p2p_wfd_register(struct l_dbus *dbus, if (p2p_own_wfd) return dbus_error_already_exists(message); + /* Available for WFD Session by default */ + props.available = true; + p2p_wfd_disconnect_watch = l_dbus_add_disconnect_watch(dbus, l_dbus_message_get_sender(message), p2p_wfd_disconnect_watch_cb, NULL,