summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/headset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c
index c8de6cf4..9dccc5ad 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1388,7 +1388,7 @@ int headset_get_config(void *device, int sock, struct ipc_packet *pkt)
c->sock = sock;
c->pkt = pkt;
err = rfcomm_connect(device, c);
- if (err = < 0)
+ if (err < 0)
goto error;
return 0;
}