diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2019-09-27 09:40:48 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2019-09-27 12:29:43 +0200 |
commit | 7390de230e3c86049824bef756e4af623a547d61 (patch) | |
tree | 6811a2288460e52e8fe14d7fbd3e2133f3388f9f /.qmake.conf | |
parent | d3ace86011d4e34eeafa795270ac027afd54f857 (diff) |
Add descriptor even if the read fails during service discovery
leDescriptorRead() serves two pruposes. Firstly, it informs Qt of the
value/result of the read operation. During service discovery it is also
used to inform Qt that a descriptor was found. This info is used
to build up the internal data structure representing the service, its
characteristics and its descriptors.
If we have a non-readable descriptor the read failed (as expected)
and Qt was never informed about the existence of the descriptor. During
service discovery the primary purpose is to inform about the existence
of a descriptor though.
This patch ensures the notification comes through and we accept the fact
that the passed value is not known.
Fixes: QTBUG-78201
Change-Id: Id73a27c90905cb769f1cd168b48299d580587594
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions