When a service is to be connected, other service(s) using the same
interface will be disconnected. Fix the already connected or connecting
situation by ignoring the service in question when seen in the list.
Simplify the index detection and signal a timeout when disconnect needs
to happen first in
Hi Patrik,
> From: patrik.fl...@linux.intel.com
> To: connman@connman.net
> Subject: [PATCH] service: Fix service disconnection when using the same index
> Date: Tue, 5 Aug 2014 13:12:56 +0300
>
> When a service is to be connected, other service(s) using the same
> interface
Hi,
On Tue, 2014-08-05 at 10:42 +, Chengyi Zhao wrote:
> Hi Patrik,
>
> > From: patrik.fl...@linux.intel.com
> > To: connman@connman.net
> > Subject: [PATCH] service: Fix service disconnection when using the same
> > index
> > Date: Tue, 5 Aug
Hi,
> >
> > src/service.c | 11 +++
> > 1 file changed, 11 insertions(+)
> >
> > diff --git a/src/service.c b/src/service.c
> > index 9406bc3..9740738 100644
> > --- a/src/service.c
> > +++ b/src/service.c
> > @@ -3957,6 +3957,16 @@ static DBusMessage *connect_service(DBusConnection
>
On Tue, 2014-08-05 at 13:12 +0300, Patrik Flykt wrote:
> When a service is to be connected, other service(s) using the same
> interface will be disconnected. Fix the already connected or connecting
> situation by ignoring the service in question when seen in the list.
>
> Simplify the index detect