From: Daniel Wagner <[email protected]> Hi,
Patch #2 is a reprise, a slight improvement from the last version. As discussed on the IRC I have removed the service_usage_count() function from "v1 Session API Update 6" patch #4 and introduced __connman_service_session_inc()/dec(). Seems to do the trick. I have noted that I don't handle the error case at all. If Session.Connect() is called and a service is selected and __connman_service_connect() is called and things go wrong, the session wont work anymore. cheers, daniel Daniel Wagner (5): session: Fix indention session: Pass on all service state changes session: Track connect reason service: Add __connman_service_session_inc()/dec() session: Use service session usage counting src/connman.h | 3 + src/service.c | 15 ++++++ src/session.c | 149 ++++++++++++++++++++++++++++++++++++++++++--------------- 3 files changed, 129 insertions(+), 38 deletions(-) -- 1.7.4.4 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
