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:
3523f28
)
Fix log record after return
author
liuchao
<liuchao741@huawei.com>
Tue, 11 Apr 2017 12:41:29 +0000
(20:41 +0800)
committer
liuchao
<liuchao741@huawei.com>
Tue, 11 Apr 2017 12:41:29 +0000
(20:41 +0800)
Put log before the returned BUSY
Test: mm -j8
Change-Id: Ic3fb15a35adac363519cabecfcf8a2d3da60107c
stack/btm/btm_inq.cc
patch
|
blob
|
history
diff --git
a/stack/btm/btm_inq.cc
b/stack/btm/btm_inq.cc
index
c259ee2
..
a4137d5
100644
(file)
--- a/
stack/btm/btm_inq.cc
+++ b/
stack/btm/btm_inq.cc
@@
-762,8
+762,8
@@
tBTM_STATUS BTM_StartInquiry(tBTM_INQ_PARMS* p_inqparms,
btm_cb.ble_ctr_cb.inq_var.scan_type = BTM_BLE_SCAN_MODE_NONE;
btm_send_hci_scan_enable(BTM_BLE_SCAN_DISABLE, BTM_BLE_DUPLICATE_ENABLE);
} else {
- return (BTM_BUSY);
BTM_TRACE_API("BTM_StartInquiry: return BUSY");
+ return (BTM_BUSY);
}
} else
p_inq->scan_type = INQ_GENERAL;