From c30643b049e0d6215f49c77e38092832b5b74179 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 15 May 2008 20:37:45 +0000 Subject: Make audio service to use of bt_*_listen helpers. --- audio/headset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/headset.c') diff --git a/audio/headset.c b/audio/headset.c index 40a8a0d3..6198ace7 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1732,11 +1732,11 @@ void set_hfp_active(struct device *dev, gboolean active) hs->hfp_active = active; } -int headset_connect_rfcomm(struct device *dev, int sock) +int headset_connect_rfcomm(struct device *dev, GIOChannel *io) { struct headset *hs = dev->headset; - hs->tmp_rfcomm = g_io_channel_unix_new(sock); + hs->tmp_rfcomm = io; return hs->tmp_rfcomm ? 0 : -EINVAL; } -- cgit