diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-05-15 20:37:45 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-05-15 20:37:45 +0000 |
commit | c30643b049e0d6215f49c77e38092832b5b74179 (patch) | |
tree | b0d3e9e37090b95ee5f2fc52c86ab2117c74083f /audio/headset.c | |
parent | 16ac1a8c833c201e45a59940c7e6073664c1fab5 (diff) |
Make audio service to use of bt_*_listen helpers.
Diffstat (limited to 'audio/headset.c')
-rw-r--r-- | audio/headset.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |