If a service was removed an no other service was added it may happen
that pending_svc has not empty but first_svc and last_svc has not been
set causing the following request:
< ACL Data TX: Handle 76 flags 0x00 dlen 11
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0000-0x0000
Attribute type: Include (0x2802)
Change-Id: Id628ff103fee0abfcb961aaa4e0032737b0c805c
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
}
next:
- if (queue_isempty(op->pending_svcs))
+ if (queue_isempty(op->pending_svcs) || !op->svc_first)
goto done;
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY