This patch adds the user data in the Handsfree Audio driver connect
implementation to allow accessing modem reference.
---
plugins/hfp_hf_bluez5.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index 1d26a28..0d5d5c7 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -319,7 +319,8 @@ static void card_remove(struct ofono_handsfree_card *card)
{
}
-static int card_audio_connect15(const char *remote, const char *local)
+static int card_audio_connect15(const char *remote, const char *local,
+ void *data)
{
struct sockaddr_sco addr;
int sk, ret;
@@ -360,7 +361,8 @@ static struct ofono_handsfree_card_driver card_driver15 = {
.audio_connect = card_audio_connect15,
};
-static int card_audio_connect16(const char *remote, const char *local)
+static int card_audio_connect16(const char *remote, const char *local,
+ void *data)
{
return 0;
}
--
1.7.11.7
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono