summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/pcm_bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index 0ff1999c..8fb560a4 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -981,7 +981,7 @@ static int bluetooth_cfg(struct bluetooth_data *data, snd_config_t *conf)
if (pkt->error != PKT_ERROR_NONE) {
SNDERR("Error %d while configuring device", pkt->error);
- return pkt->error;
+ return -pkt->error;
}
if (cfg->codec != CFG_CODEC_SBC)