Fix use of name as serial number value. Since now proper config option exists use real serial if provided. --- android/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gatt.c b/android/gatt.c index 37bdeb6..c482364 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -6469,7 +6469,7 @@ static void register_device_info_service(void) (void *) data); } - /* TODO */ + data = bt_config_get_serial(); if (data) { bt_uuid16_create(&uuid, GATT_CHARAC_SERIAL_NUMBER_STRING); gatt_db_add_characteristic(gatt_db, srvc_handle, &uuid, -- 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