[RFC] android/map-client: Don't check if interface is ready on init

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

 



Map client don't have possibility to clean up its interface, only way to
change it is to overwrite. Service also can be unregistered but
interface doesn't change. This situation cause call to unregistered
service with set interface.
---
 android/hal-map-client.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/android/hal-map-client.c b/android/hal-map-client.c
index 6c927d4..6fbf894 100644
--- a/android/hal-map-client.c
+++ b/android/hal-map-client.c
@@ -119,9 +119,6 @@ static bt_status_t init(btmce_callbacks_t *callbacks)
 
 	DBG("");
 
-	if (interface_ready())
-		return BT_STATUS_DONE;
-
 	cbs = callbacks;
 
 	hal_ipc_register(HAL_SERVICE_ID_MAP_CLIENT, ev_handlers,
-- 
1.9.3

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