--- 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