[PATCH 2/3] android/handsfree: Fix cut and paste typo

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

 



From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>

---
 android/hal-handsfree.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/android/hal-handsfree.c b/android/hal-handsfree.c
index 2834c80..8b644f3 100644
--- a/android/hal-handsfree.c
+++ b/android/hal-handsfree.c
@@ -466,8 +466,6 @@ static bt_status_t stop_voice_recognition_real(bt_bdaddr_t *bd_addr)
 	if (bd_addr)
 		memcpy(cmd.bdaddr, bd_addr, sizeof(cmd.bdaddr));
 
-	memcpy(cmd.bdaddr, bd_addr, sizeof(cmd.bdaddr));
-
 	return hal_ipc_cmd(HAL_SERVICE_ID_HANDSFREE, HAL_OP_HANDSFREE_STOP_VR,
 					sizeof(cmd), &cmd, NULL, NULL, NULL);
 }
-- 
1.9.1

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