shared/mgmt: Add request timeout handling
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Jan 2022 23:15:22 +0000 (15:15 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:53 +0000 (14:55 +0530)
commit3c86d4ead860526489741ca8589650a597d350f7
tree2dbfb8985063f2c5a6de8c91937eebfe364e20f8
parent0f649dfd4891bebce207fdbebf65ae05f566e965
shared/mgmt: Add request timeout handling

This adds request timeout handling when using mgmt_send_timeout and
mgmt_reply_timeout, the timeout is applied to the request only when it
is actually transmitted and not while queued.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/mgmt.c
src/shared/mgmt.h