Re: [MM] [PATCH] bearer: deny disconnect request if there is a cancel outstanding

2012-07-31 Thread Aleksander Morgado
On 07/30/2012 10:10 PM, Thieu Le wrote: > Hi Aleksander, > > I've tried your patch below and mm-next did not hang during my test > runs. Although it didn't happen during my test passes, I am wondering > if the bearer DISCONNECTING status can be overwritten if the modem > changes state after the c

Re: [MM] [PATCH] bearer: deny disconnect request if there is a cancel outstanding

2012-07-30 Thread Thieu Le
Hi Aleksander, I've tried your patch below and mm-next did not hang during my test runs. Although it didn't happen during my test passes, I am wondering if the bearer DISCONNECTING status can be overwritten if the modem changes state after the call to mm_bearer_disconnect()? If there is no possi

Re: [MM] [PATCH] bearer: deny disconnect request if there is a cancel outstanding

2012-07-30 Thread Aleksander Morgado
Hey Ben & Thieu, > --- > src/mm-bearer.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/src/mm-bearer.c b/src/mm-bearer.c > index 3cce948..3b1be8c 100644 > --- a/src/mm-bearer.c > +++ b/src/mm-bearer.c > @@ -450,7 +450,8 @@ mm_bearer_disconnect (MMBearer *self, >

[MM] [PATCH] bearer: deny disconnect request if there is a cancel outstanding

2012-07-28 Thread Ben Chan
From: Thieu Le --- src/mm-bearer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/mm-bearer.c b/src/mm-bearer.c index 3cce948..3b1be8c 100644 --- a/src/mm-bearer.c +++ b/src/mm-bearer.c @@ -450,7 +450,8 @@ mm_bearer_disconnect (MMBearer *self, } /* If

[MM] [PATCH] bearer: deny disconnect request if there is a cancel outstanding

2012-07-27 Thread Ben Chan
From: Thieu Le --- src/mm-bearer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/mm-bearer.c b/src/mm-bearer.c index 3cce948..3b1be8c 100644 --- a/src/mm-bearer.c +++ b/src/mm-bearer.c @@ -450,7 +450,8 @@ mm_bearer_disconnect (MMBearer *self, } /* If