Diff between 8ebb3c79e11dd7ce7000622a16f03bbb0bdaf638 and 4364aa411da27ea5991c42f7d08c4ebabffce6c4
Changed Files
| File | Additions | Deletions | Status |
| audio/avrcp.c | +1 | -1 | modified |
Full Patch
diff --git a/audio/avrcp.c b/audio/avrcp.c
index ac9a107..e5b51db 100644
--- a/audio/avrcp.c
+++ b/audio/avrcp.c
@@ -549,7 +549,7 @@ static int avrcp_send_event(struct media_player *mp, uint8_t id, void *data)
uint16_t size;
int err;
- if (mp->session)
+ if (mp->session == NULL)
return -ENOTCONN;
if (!(mp->registered_events & (1 << id)))