Commit: c4686d50860e18abff8bdaaa77d20d1b783801ae
Parent: dbcd2d44466b35860bb335bd5c8789e7b2a858bb
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-02-19 15:21:08
Tree: 200edd43877a8264748882f1191a971999587775

android/avdtp: Fix SEID generation Fixes SEID generation for avdtp. Currently SEIDs were assigned assuming that SEID are registered and unregistered in the same order like: seid = g_slist_length(seps) + 1 which makes it possible to reuse similar SEIDs. Note that helper function allows maximum id of sizeof(int) * 8 which is smaller then MAX_SEID but more then enough for local SEPs.

Diffstat

M android/Android.mk | 1 +
M android/Makefile.am | 1 +
M android/avdtp.c | 5 ++++-

3 files changed, 6 insertions(+), 1 deletions(-)

View Full Diff | Patch