From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/avdtp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/android/avdtp.c b/android/avdtp.c index 35bc548..b8a2147 100644 --- a/android/avdtp.c +++ b/android/avdtp.c @@ -3372,9 +3372,6 @@ struct avdtp_local_sep *avdtp_register_sep(struct queue *lseps, uint8_t type, if (!seid) return NULL; - if (queue_length(lseps) > MAX_SEID) - return NULL; - sep = g_new0(struct avdtp_local_sep, 1); sep->state = AVDTP_STATE_IDLE; -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html