[PATCH] Fix problem with EIR data when setting the name

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

 



From 32c3108cc8a0734f3ee1187e9326dc7b84a332d7 Mon Sep 17 00:00:00 2001
From: Lukasz Pawlik <lucas.pawlik@xxxxxxxxx>
Date: Thu, 23 Sep 2010 16:27:39 +0200
Subject: [PATCH] Fix problem with EIR data when setting the name

Previously changed BT fiendly name was not reflected until BT adapter reboot.
This patch fix this problem. Now changed name is reflected without need of
rebooting adapter.
---
 src/adapter.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/adapter.c b/src/adapter.c
index 9b638cf..0e9be5f 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -1031,6 +1031,7 @@ static DBusMessage *set_name(DBusConnection *conn, DBusMessage *msg,
 			return failed_strerror(msg, err);
 
 		adapter->name_stored = TRUE;
+		update_ext_inquiry_response(adapter);
 	}
 
 done:
-- 
1.7.0.4


[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