From: Wootak Jung Date: Sun, 25 May 2025 23:05:29 +0000 (+0900) Subject: Fix poll timeout issue X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git Fix poll timeout issue Modify timeout value to 300ms from 1000ms Change-Id: I4782dd448a1f707dcd37f2dbf86174fcca48b41a Signed-off-by: Wootak Jung --- diff --git a/hf-agent/bluetooth-hf-agent.c b/hf-agent/bluetooth-hf-agent.c index 21eea6c..1b28aa1 100644 --- a/hf-agent/bluetooth-hf-agent.c +++ b/hf-agent/bluetooth-hf-agent.c @@ -2424,7 +2424,7 @@ static gboolean __bt_hf_send_and_read(bt_hf_agent_info_t *bt_hf_info, for (i = 1; i <= MAX_WAITING_DELAY; i++) { DBG("Loop Counter = %d", i); p.revents = 0; - err = poll(&p, 1, 1000); + err = poll(&p, 1, 300); if (err < 0) { ERR("Loop Counter = %d, >>>> Poll error happen", i); return FALSE;