summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2013-03-28 09:30:45 -0500
committerDenis Kenzior <denkenz@gmail.com>2013-03-28 09:30:45 -0500
commit2f50d25ab51abd11276d8f804b4ff5cfeffa00d2 (patch)
tree85bcbcb6a02919e5c5a797121429f1b1209561ad
parent759cf256148bf2735501cd76860bc8cd34478a3b (diff)
hfp_hf_bluez5: Make sure to call the callback
-rw-r--r--plugins/hfp_hf_bluez5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index e2fa70c4..f068c702 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -49,6 +49,7 @@
#include <ofono/handsfree.h>
#include <ofono/handsfree-audio.h>
+#include <drivers/atmodem/atutil.h>
#include <drivers/hfpmodem/slc.h>
#include "bluetooth.h"
@@ -327,7 +328,7 @@ static void hfp16_card_connect(struct ofono_handsfree_card *card,
ofono_handsfree_card_connect_cb_t cb,
void *data)
{
-
+ CALLBACK_WITH_FAILURE(cb, data);
}
static struct ofono_handsfree_card_driver hfp16_hf_driver = {