Hi Anthony, On 07/19/2013 08:35 AM, Anthony Viallard wrote: > When we detect a change of the network technology, ofono don't have > a function to report this change at higher level (dbus signal, ...) > --- > include/netreg.h | 1 + > src/network.c | 6 ++++++ > 2 files changed, 7 insertions(+) > > diff --git a/include/netreg.h b/include/netreg.h > index 4338c14..94c8e9f 100644 > --- a/include/netreg.h > +++ b/include/netreg.h > @@ -91,6 +91,7 @@ struct ofono_netreg_driver { > void ofono_netreg_strength_notify(struct ofono_netreg *netreg, int strength); > void ofono_netreg_status_notify(struct ofono_netreg *netreg, int status, > int lac, int ci, int tech); > +void ofono_netreg_tech_notify(struct ofono_netreg *netreg, int tech); Please don't do this, the tech is already covered by netreg_status_notify > void ofono_netreg_time_notify(struct ofono_netreg *netreg, > struct ofono_network_time *info); > > diff --git a/src/network.c b/src/network.c > index d1bfca6..b4cd62f 100644 > --- a/src/network.c > +++ b/src/network.c > @@ -1393,6 +1393,12 @@ void ofono_netreg_status_notify(struct ofono_netreg *netreg, int status, > notify_status_watches(netreg); > } > > +void ofono_netreg_tech_notify(struct ofono_netreg *netreg, int tech) > +{ > + if (netreg->technology != tech) > + set_registration_technology(netreg, tech); > +} > + > void ofono_netreg_time_notify(struct ofono_netreg *netreg, > struct ofono_network_time *info) > { > Regards, -Denis