summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
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;