Bluetooth: HCI SMD Increase WakeLock release timeout
Upper layers are not acquiring the locks properly, hence wakelock release timeout is increased to 500 ms. This logic and value is derived from the implementation for UART transport. CRs-fixed: 325550 Change-Id: I15c39705e63ebb1fb4ccac3c42d72f0cc1e32929 Signed-off-by: Mallikarjuna GB <gbmalli@codeaurora.org>
This commit is contained in:
@@ -33,7 +33,12 @@
|
||||
|
||||
#define EVENT_CHANNEL "APPS_RIVA_BT_CMD"
|
||||
#define DATA_CHANNEL "APPS_RIVA_BT_ACL"
|
||||
#define RX_Q_MONITOR (1) /* 1 milli second */
|
||||
/* release wakelock in 500ms, not immediately, because higher layers
|
||||
* don't always take wakelocks when they should
|
||||
* This is derived from the implementation for UART transport
|
||||
*/
|
||||
|
||||
#define RX_Q_MONITOR (500) /* 500 milli second */
|
||||
|
||||
|
||||
static int hcismd_set;
|
||||
|
||||
Reference in New Issue
Block a user