[PATCH 2/2] Remove wrong checking for legacy devices

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

 



Infer that the found device is a legacy device based on the presence
of its name in the storage is wrong.
---
 src/event.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/event.c b/src/event.c
index 5373e33..b873000 100644
--- a/src/event.c
+++ b/src/event.c
@@ -481,8 +481,6 @@ void btd_event_device_found(bdaddr_t *local, bdaddr_t *peer, uint32_t class,
 
 	if (data)
 		legacy = FALSE;
-	else if (name == NULL)
-		legacy = TRUE;
 	else if (read_remote_features(local, peer, NULL, features) == 0) {
 		if (features[0] & 0x01)
 			legacy = FALSE;
-- 
1.7.5.rc3

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