summaryrefslogtreecommitdiffstats
path: root/src/handsfree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/handsfree.c')
-rw-r--r--src/handsfree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/handsfree.c b/src/handsfree.c
index ae5007e5..2566ed0e 100644
--- a/src/handsfree.c
+++ b/src/handsfree.c
@@ -62,6 +62,9 @@ void ofono_handsfree_set_inband_ringing(struct ofono_handsfree *hf,
hf->inband_ringing = enabled;
+ if (__ofono_atom_get_registered(hf->atom) == FALSE)
+ return;
+
ofono_dbus_signal_property_changed(conn, path,
OFONO_HANDSFREE_INTERFACE,
"InbandRinging", DBUS_TYPE_BOOLEAN,