From 25b97bfab281a977dd4095494d518c538c1a17e4 Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Mon, 20 Mar 2017 11:53:08 +0100 Subject: [PATCH] avdtp: fix compile --- src/classic/avdtp_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classic/avdtp_util.c b/src/classic/avdtp_util.c index 3097591f1..730d05f4f 100644 --- a/src/classic/avdtp_util.c +++ b/src/classic/avdtp_util.c @@ -442,7 +442,7 @@ void avdtp_prepare_capabilities(avdtp_signaling_packet_t * signaling_packet, uin // printf_hexdump(signaling_packet->command, signaling_packet->size); for (i = 1; i < 9; i++){ int registered_category = get_bit16(registered_service_categories, i); - if (!registered_category && (identifier == AVDTP_SI_SET_CONFIGURATION || identifier == AVDTP_SI_RECONFIGURE){ + if (!registered_category && (identifier == AVDTP_SI_SET_CONFIGURATION || identifier == AVDTP_SI_RECONFIGURE)){ // TODO: introduce bitmap of mandatory categories if (i == 1){ registered_category = 1;