btdev: Fix using the callback return as command complete
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Oct 2021 21:51:49 +0000 (14:51 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commit289c3ff2d58b9f40c3594af5da263e624f2617b8
treed49a80cfe3ce58de910fb611638f54f1eb527a72
parent4ba01ccf8e2862584dcf3f35f98bb591ec17aeb4
btdev: Fix using the callback return as command complete

Command callback can only be used when generating a command status as
command complete can carry more than just the status.

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