diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-26 14:26:37 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-26 14:26:37 +0200 |
commit | fcd2bfc9b886968b900766961684d167f5ccccc1 (patch) | |
tree | c417d3dfd37a6676d8141a2c67b52a517957f008 | |
parent | 9376c701f426cdafb75c80c67bbf1683c71301f0 (diff) |
Fix stream rejection size check
-rw-r--r-- | audio/avdtp.c | 2 |
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; } |