Hi Gustavo,
On 12/03/2010 03:40 PM, Gustavo F. Padovan wrote:
> ---
> src/modem.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/src/modem.c b/src/modem.c
> index 52e647b..ae427b3 100644
> --- a/src/modem.c
> +++ b/src/modem.c
> @@ -804,7 +804,8 @@ void ofono_modem_set_powered(struct ofono_modem *modem,
> ofono_bool_t powered)
> modem->timeout = 0;
> }
>
> - if (modem->pending != NULL) {
> + if (modem->powered_pending != modem->powered &&
> + modem->pending != NULL) {
> DBusMessage *reply;
>
> if (powered == modem->powered_pending)
Patch has been applied, thanks.
Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono