diff options
| author | zhaoyang yin <yinzhaoyang@huawei.com> | 2015-09-21 00:38:43 +0800 |
|---|---|---|
| committer | Andre Eisenbach <eisenbach@google.com> | 2015-09-22 11:23:21 -0700 |
| commit | 9ac18e70df13c2723ad9a8e7460ba0129fda7a03 (patch) | |
| tree | 3b4150137aa283430a18f187593f277186df6596 /src | |
| parent | 00f5e91d255b35230051b14810ae201090e8d7b1 (diff) | |
| download | android_hardware_broadcom_libbt-9ac18e70df13c2723ad9a8e7460ba0129fda7a03.tar.gz android_hardware_broadcom_libbt-9ac18e70df13c2723ad9a8e7460ba0129fda7a03.tar.bz2 android_hardware_broadcom_libbt-9ac18e70df13c2723ad9a8e7460ba0129fda7a03.zip | |
Avoid frequently operation on btwrite
Need to set lmp_proc_cb.btwrite_active even though
PROC_BTWRITE_TIMER_TIMEOUT_MS is set to 0.
Otherwise, btwrite would be written very frequently.
Bug: 24201064
Change-Id: I3aec20bc52552f9181ccd1a257f1a04492999a68
Diffstat (limited to 'src')
| -rw-r--r-- | src/upio.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -507,6 +507,10 @@ void upio_set(uint8_t pio, uint8_t action, uint8_t polarity) } #endif +#if (BT_WAKE_VIA_PROC_NOTIFY_DEASSERT == TRUE) + lpm_proc_cb.btwrite_active = TRUE; +#endif + UPIODBG("%s: proc btwrite assertion, buffer: %c, timer_armed %d %d", __FUNCTION__, buffer, lpm_proc_cb.btwrite_active, lpm_proc_cb.timer_created); |
