summaryrefslogtreecommitdiffstats
path: root/audio/device.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/device.c
parent2a2c204cd0e4bcf0a603ba72be9a50203a817b54 (diff)
Revert changes on storage, rfcomm might change over time.
Diffstat (limited to 'audio/device.c')
-rw-r--r--audio/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/device.c b/audio/device.c
index 884a2661..785d0115 100644
--- a/audio/device.c
+++ b/audio/device.c
@@ -186,7 +186,7 @@ int device_store(struct device *device, gboolean is_default)
if (is_default)
textfile_put(filename, "default", dst_addr);
if (device->headset)
- snprintf(value, 64, "headset#%d", headset_get_channel(device));
+ snprintf(value, 64, "headset");
else if (device->gateway)
snprintf(value, 64, "gateway");
else if (device->sink)