* Gustavo F. Padovan <[email protected]> [2010-12-03 16:52:53 -0200]:
> ---
> src/modem.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/modem.c b/src/modem.c
> index 52e647b..d6ab316 100644
> --- a/src/modem.c
> +++ b/src/modem.c
> @@ -804,7 +804,7 @@ void ofono_modem_set_powered(struct ofono_modem *modem,
> ofono_bool_t powered)
> modem->timeout = 0;
> }
>
> - if (modem->pending != NULL) {
> + if (modem->powered_pending != powered && modem->pending != NULL) {
This one is wrong, I'll resend it. It should be modem->powered instead of
powered.
--
Gustavo F. Padovan
http://profusion.mobi
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono