adapter: Consolitate code for discovery reply
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 8 Jun 2020 21:52:53 +0000 (14:52 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
commit32b6cf45c99319e165d4895976bf90c45e9fa1c1
treea7b38c68ce5db80d4e59c1a2ea7e297f83cff7d4
parent7bff2c46e0578827b6abe880c6691176d6b6ecd6
adapter: Consolitate code for discovery reply

This consolidate code that were used to reply discovery commands in a
single function so it easier to reuse and maintain.

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