adapter: Fix not checking status of stop discovery command
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 12 Jun 2020 17:11:04 +0000 (10:11 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
commita3e76f926ec2aabbee3ee3853375adde4668ec31
tree1967afc20459f6bfb7d63576aad2356151a60732
parent8a8f59825e0c289e5e4916df0c17a2bab57bc146
adapter: Fix not checking status of stop discovery command

Status needs to be checked in order to properly synchronize the states
with the controller.

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