Commit: 6d0ec74904324b667d7450c4e1d565623b3d986c
Parent: f8a44769ff80e3ce8f8fe736a4358eb3da0134a6
Author: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-09-27 13:11:35
Tree: 37d04c9c1f3613b06a971eb9112df94431cba425

AVRCP: limit AVRCP packet size to the MTU of AV/C AVRCP is an extension of AV/C spec which has a limit of 512 bytes. The only place where it can exceed this value is in the response to GetElementAttributes command. Now we simply don't add the attributes that would overflow the available buffer space.

Diffstat

M audio/avctp.c | 2 - -
M audio/avctp.h | 3 +++
M audio/avrcp.c | 58 ++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - -

3 files changed, 37 insertions(+), 26 deletions(-)

View Full Diff | Patch