Diff between a951f50ad79c6caa378a5a41bf627df8eaac20b7 and 2539799e3c2e632ba7ae298e0a9175d0cef89a50
Changed Files
| File | Additions | Deletions | Status |
| audio/headset.c | +2 | -1 | modified |
Full Patch
diff --git a/audio/headset.c b/audio/headset.c
index 6aef6a8..c5ea58b 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1331,7 +1331,8 @@ static gboolean rfcomm_io_cb(GIOChannel *chan, GIOCondition cond,
if (err == -EINVAL) {
error("Badly formated or unrecognized command: %s",
&slc->buf[slc->data_start]);
- err = headset_send(hs, "\r\nERROR\r\n");
+ err = telephony_generic_rsp(device,
+ CME_ERROR_NOT_SUPPORTED);
if (err < 0)
goto failed;
} else if (err < 0)