agent: Detect when ongoing request is already in progress
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 27 Dec 2019 18:19:15 +0000 (10:19 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:47 +0000 (14:30 +0530)
commita2e4ae9ec5025b7e9d29b61c80097035a55bc2c4
treeb5bf423c283f66f83f56e19b8c9e1c36e661aac0
parent32b3eb6bd8510126d98603cac7c97dd3bfa863a3
agent: Detect when ongoing request is already in progress

This detects when a agent request is already pending for the same device
which could happen when there are 2 or more adapters in the system and
they are trying to pair with each other.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.c
src/agent.c
src/agent.h
src/device.c