diff options
author | Inga Stotland <ingas@codeaurora.org> | 2010-08-04 16:00:26 -0700 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-08-05 13:04:39 +0300 |
commit | 036b45e142ef8fe23148ba247c2dd6baa9c51764 (patch) | |
tree | 04e3cd60a689e7cd00c4d2e40f874d2d77978a7c /src/sdpd-service.c | |
parent | 9628d29ba1340b5b9699e9a2c7547ea4f68f7427 (diff) | |
download | bluez-036b45e142ef8fe23148ba247c2dd6baa9c51764.tar.gz |
Minor fix when skipping duplicate UUID16 from EIR.
Diffstat (limited to 'src/sdpd-service.c')
-rw-r--r-- | src/sdpd-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdpd-service.c b/src/sdpd-service.c index cdbb4f464..35e333df9 100644 --- a/src/sdpd-service.c +++ b/src/sdpd-service.c @@ -242,7 +242,7 @@ void create_ext_inquiry_response(const char *name, if (uuid[i] == rec->svclass.value.uuid16) break; - if (i == index - 1) + if (i < index) continue; uuid[index++] = rec->svclass.value.uuid16; |