summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_hf.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/hfp_hf.c')
-rw-r--r--plugins/hfp_hf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/hfp_hf.c b/plugins/hfp_hf.c
index 322edf3f..0c6ed83c 100644
--- a/plugins/hfp_hf.c
+++ b/plugins/hfp_hf.c
@@ -408,7 +408,7 @@ static int hfp_enable(struct ofono_modem *modem)
status = bluetooth_send_with_reply(data->handsfree_path,
BLUEZ_GATEWAY_INTERFACE, "Connect",
- hfp_connect_reply, modem, NULL,
+ NULL, hfp_connect_reply, modem, NULL,
DBUS_TIMEOUT, DBUS_TYPE_INVALID);
if (status < 0)
@@ -451,7 +451,7 @@ static int hfp_disable(struct ofono_modem *modem)
if (data->agent_registered) {
status = bluetooth_send_with_reply(data->handsfree_path,
BLUEZ_GATEWAY_INTERFACE, "Disconnect",
- hfp_power_down, modem, NULL,
+ NULL, hfp_power_down, modem, NULL,
DBUS_TIMEOUT, DBUS_TYPE_INVALID);
if (status < 0)