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:
fc07271
)
android/gatt: Remove redundant hal cmd check
author
Grzegorz Kolodziejczyk
<grzegorz.kolodziejczyk@tieto.com>
Tue, 1 Apr 2014 12:54:27 +0000
(14:54 +0200)
committer
Szymon Janc
<szymon.janc@tieto.com>
Tue, 1 Apr 2014 13:51:27 +0000
(15:51 +0200)
This removes redundant hal cmd check (is received in cmd UUID == NULL).
android/gatt.c
patch
|
blob
|
history
diff --git
a/android/gatt.c
b/android/gatt.c
index
941582a
..
ee77a4e
100644
(file)
--- a/
android/gatt.c
+++ b/
android/gatt.c
@@
-350,12
+350,6
@@
static void handle_client_register(const void *buf, uint16_t len)
DBG("");
- if (!cmd->uuid) {
- error("gatt: no uuid received");
- status = HAL_STATUS_FAILED;
- goto failed;
- }
-
if (queue_find(gatt_clients, match_client_by_uuid, &cmd->uuid)) {
error("gatt: client uuid is already on list");
status = HAL_STATUS_FAILED;