[PATCH 02/25] android/bluetooth: Minor fix, add missing NULL assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 android/bluetooth.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/android/bluetooth.c b/android/bluetooth.c
index ddd3a7b..5652d82 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -5300,6 +5300,8 @@ bool bt_bluetooth_register(struct ipc *ipc, uint8_t mode)
 
 failed:
 	queue_destroy(unpaired_cb_list, NULL);
+	unpaired_cb_list = NULL;
+
 	return false;
 }
 
-- 
1.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux