[PATCH 2/3] android: Implement scan_mode property in get property command

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

 



This will allow to query current state of scan mode property.
---
 android/adapter.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/android/adapter.c b/android/adapter.c
index 78c301c..54aed40 100644
--- a/android/adapter.c
+++ b/android/adapter.c
@@ -1064,11 +1064,11 @@ static bool get_service(void)
 
 static bool get_scan_mode(void)
 {
-	DBG("Not implemented");
+	DBG("");
 
-	/* TODO: Add implementation */
+	scan_mode_changed();
 
-	return false;
+	return true;
 }
 
 static bool get_devices(void)
-- 
1.8.4.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