~vcs-imports/bluez/master

Viewing all changes in revision 19553.

  • Committer: Luiz Augusto von Dentz
  • Date: 2018-03-15 08:38:21 UTC
  • Revision ID: git-v1:969dfae9a7373dc22754e95d977993fe8564aca4
shared/gatt-client: Fix attempting to discovery with handle 0

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)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: