Diff between b8207d382f2424b253b861b5b55fec9e4810d858 and 509b120a1ae12530a37f2a29a8266d6ae748c9a7

Changed Files

File Additions Deletions Status
android/bluetooth.c +1 -1 modified

Full Patch

diff --git a/android/bluetooth.c b/android/bluetooth.c
index 0f6e14f..e596d94 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -2536,7 +2536,7 @@ static void unpair_device_complete(uint8_t status, uint16_t length,
 
 	DBG("status %u", status);
 
-	if (status != MGMT_STATUS_SUCCESS)
+	if (status != MGMT_STATUS_SUCCESS && status != MGMT_STATUS_NOT_PAIRED)
 		return;
 
 	set_device_bond_state(&rp->addr.bdaddr, HAL_STATUS_SUCCESS,