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:
3b7b97b
)
android/bluetooth: Remove not needed notification_sk checks
author
Szymon Janc
<szymon.janc@tieto.com>
Thu, 28 Nov 2013 14:15:29 +0000
(15:15 +0100)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Thu, 28 Nov 2013 16:02:27 +0000
(18:02 +0200)
This is now checked inside ipc_send_notif helper.
android/bluetooth.c
patch
|
blob
|
history
diff --git
a/android/bluetooth.c
b/android/bluetooth.c
index
68e26fa
..
fdafb81
100644
(file)
--- a/
android/bluetooth.c
+++ b/
android/bluetooth.c
@@
-1185,9
+1185,7
@@
static void remove_uuid_complete(uint8_t status, uint16_t length,
mgmt_dev_class_changed_event(adapter.index, length, param, NULL);
- /* send notification only if bluetooth service is registered */
- if (notification_sk >= 0)
- get_uuids();
+ get_uuids();
}
static void remove_uuid(uint16_t uuid)
@@
-1213,9
+1211,7
@@
static void add_uuid_complete(uint8_t status, uint16_t length,
mgmt_dev_class_changed_event(adapter.index, length, param, NULL);
- /* send notification only if bluetooth service is registered */
- if (notification_sk >= 0)
- get_uuids();
+ get_uuids();
}
static void add_uuid(uint8_t svc_hint, uint16_t uuid)