drivers/bluetooth: Extend NULL driver to support a little more testing.

This commit is contained in:
Gregory Nutt
2018-04-06 14:07:03 -06:00
parent e02bbd945a
commit ea84215059
2 changed files with 135 additions and 26 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ static void hci_cmd_done(uint16_t opcode, uint8_t status,
{
FAR sem_t *sem = sent->u.hci.sync;
if (status)
if (status != 0)
{
sent->u.hci.sync = NULL;
}