Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3aa3576 authored by Venkateshwarlu Domakonda's avatar Venkateshwarlu Domakonda Committed by Gerrit - the friendly Code Review server
Browse files

radio: iris: Fix the ANR issue



The driver waiting for 10sec to get response from controller
and application ANR will trigger if the response not comes within 5sec.
Reduced timeout value in driver to avoid ANR.

Change-Id: I32fedddae533db547d02cee9ac141b6ef54914de
CRs-Fixed: 868787
Signed-off-by: default avatarVenkateshwarlu Domakonda <vdomak@codeaurora.org>
Signed-off-by: default avatarRupesh Tatiya <rtatiya@codeaurora.org>
parent 378b5365
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ void radio_hci_event_packet(struct radio_hci_dev *hdev, struct sk_buff *skb);
#define FMDERR(fmt, args...) pr_err("iris_radio: " fmt, ##args)

/* HCI timeouts */
#define RADIO_HCI_TIMEOUT	(10000)	/* 10 seconds */
#define RADIO_HCI_TIMEOUT	(1500)	/* 1.5 seconds */

int hci_def_data_read(struct hci_fm_def_data_rd_req *arg,
	struct radio_hci_dev *hdev);