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:
a9ac5d2
)
monitor: Update controller address from Read BD Addr command
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 17 Oct 2015 14:04:42 +0000
(16:04 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 17 Oct 2015 14:04:42 +0000
(16:04 +0200)
monitor/packet.c
patch
|
blob
|
history
diff --git
a/monitor/packet.c
b/monitor/packet.c
index
2e82cfa
..
439b5dc
100644
(file)
--- a/
monitor/packet.c
+++ b/
monitor/packet.c
@@
-5603,6
+5603,9
@@
static void read_bd_addr_rsp(const void *data, uint8_t size)
print_status(rsp->status);
print_bdaddr(rsp->bdaddr);
+
+ if (index_current < MAX_INDEX)
+ memcpy(index_list[index_current].bdaddr, rsp->bdaddr, 6);
}
static void read_data_block_size_rsp(const void *data, uint8_t size)