OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fdad47
)
android/gatt: Fix incorrect entry check
author
Marcin Kraglak
<marcin.kraglak@tieto.com>
Thu, 12 Jun 2014 09:08:24 +0000
(11:08 +0200)
committer
Szymon Janc
<szymon.janc@tieto.com>
Thu, 12 Jun 2014 11:37:32 +0000
(13:37 +0200)
android/gatt.c
patch
|
blob
|
history
diff --git
a/android/gatt.c
b/android/gatt.c
index
2cfa0a1
..
6db81d4
100644
(file)
--- a/
android/gatt.c
+++ b/
android/gatt.c
@@
-4132,7
+4132,7
@@
static void fill_gatt_response_by_handle(uint16_t handle, uint16_t offset,
entry = queue_find(dev->pending_requests, match_dev_request_by_handle,
UINT_TO_PTR(handle));
- if (entry) {
+ if (
!
entry) {
DBG("No pending response found! Bogus android response?");
return;
}