summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/avdtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index aee0d9e1..2cb3b21e 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -2448,7 +2448,7 @@ static gboolean stream_rej_to_err(struct stream_rej *rej, unsigned int size,
struct avdtp_error *err,
uint8_t *acp_seid)
{
- if (size < sizeof(struct conf_rej)) {
+ if (size < sizeof(struct stream_rej)) {
error("Too small packet for stream_rej");
return FALSE;
}