adapter: Do not remove client watch directly if discovery fails
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 8 Jun 2020 21:07:25 +0000 (14:07 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
commit7bff2c46e0578827b6abe880c6691176d6b6ecd6
tree2799feca7c0314382a89a248b3e29be2d06381b0
parent6ed6349bb2833d08d17df61eed5c0f9b6cc6a997
adapter: Do not remove client watch directly if discovery fails

Client watch is used for both discovery and it filters so in case the
client has set the later the watch shall be perserved.

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