Hi Marit,
2010/12/17 Marit Henriksen <[email protected]>:
> From: Marit Henriksen <[email protected]>
>
> Signal strength is set to -1 whenever registration status changes
> and differs from registered or roaming. When registration status
> changes again to registered or roaming, the signal strength needs to
> be updated, added query towards driver to get it.
Typically the modem updates signal strength along with registration
status. What are you trying to achieve here? Is this to avoid
problems caused by reordering, i.e., ofono_netreg_strength_notify()
getting called before ofono_netreg_status_notify()?
<snip>
> @@ -1319,6 +1332,9 @@ void ofono_netreg_status_notify(struct ofono_netreg
> *netreg, int status,
> if (netreg->driver->current_operator)
> netreg->driver->current_operator(netreg,
> current_operator_callback, netreg);
Add extra line feed here.
> + if (netreg->driver->strength)
> + netreg->driver->strength(netreg,
> + signal_strength_callback, netreg);
> } else {
> struct ofono_error error;
>
Cheers,
Aki
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono