summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-06-27 18:31:08 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-06-27 18:31:08 +0000
commit389d6a32fa14abefec394b9ebfa3b2deb51489c7 (patch)
treeb786ca6e32d380cec5f52d0961dce8246e0e7a57 /audio/headset.c
parent2a2c204cd0e4bcf0a603ba72be9a50203a817b54 (diff)
Revert changes on storage, rfcomm might change over time.
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 1e8b640a..2e285aa9 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1396,12 +1396,12 @@ void headset_update(void *device, sdp_record_t *record, uint16_t svc)
}
struct headset *headset_init(void *device, sdp_record_t *record,
- uint16_t svc, int channel)
+ uint16_t svc)
{
struct headset *headset;
headset = g_new0(struct headset, 1);
- headset->rfcomm_ch = channel;
+ headset->rfcomm_ch = -1;
headset->sp_gain = -1;
headset->mic_gain = -1;