OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044e4c3
)
Fix params of SetPeriodicAdvertisingParameters
author
Sunny Kapdi
<sunnyk@codeaurora.org>
Thu, 1 Jun 2017 21:34:03 +0000
(14:34 -0700)
committer
Jakub Pawlowski
<jpawlowski@google.com>
Thu, 1 Jun 2017 22:48:43 +0000
(15:48 -0700)
Fix the sequence of SetPeriodicAdvertisingParameters
in the hci_cmd
Bug:
62268713
Change-Id: Ibdcd362458e9d7ee2f95106a2aefa76e1c264103
stack/btm/ble_advertiser_hci_interface.cc
patch
|
blob
|
history
diff --git
a/stack/btm/ble_advertiser_hci_interface.cc
b/stack/btm/ble_advertiser_hci_interface.cc
index
d7b217b
..
740ab50
100644
(file)
--- a/
stack/btm/ble_advertiser_hci_interface.cc
+++ b/
stack/btm/ble_advertiser_hci_interface.cc
@@
-595,9
+595,9
@@
class BleAdvertiserHciExtendedImpl : public BleAdvertiserHciInterface {
uint8_t* pp = param;
UINT8_TO_STREAM(pp, handle);
- UINT16_TO_STREAM(pp, periodic_properties);
UINT16_TO_STREAM(pp, periodic_adv_int_min);
UINT16_TO_STREAM(pp, periodic_adv_int_max);
+ UINT16_TO_STREAM(pp, periodic_properties);
SendAdvCmd(FROM_HERE, HCI_LE_SET_PERIODIC_ADVERTISING_PARAM, param,
HCI_LE_SET_PRIODIC_ADVERTISING_PARAM_LEN, command_complete);