linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add heartrate monitoring LE device to auto connect list.
@ 2013-01-28 21:27 Damjan Cvetko
  2013-01-29 23:36 ` Johan Hedberg
  0 siblings, 1 reply; 4+ messages in thread
From: Damjan Cvetko @ 2013-01-28 21:27 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Damjan Cvetko

---
 profiles/heartrate/heartrate.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/profiles/heartrate/heartrate.c b/profiles/heartrate/heartrate.c
index 5c56d3f..1788d4f 100644
--- a/profiles/heartrate/heartrate.c
+++ b/profiles/heartrate/heartrate.c
@@ -801,6 +801,8 @@ static int heartrate_device_register(struct btd_device *device,
 	hr->attioid = btd_device_add_attio_callback(device, attio_connected_cb,
 						attio_disconnected_cb, hr);
 
+	device_set_auto_connect(device, TRUE);
+
 	return 0;
 }
 
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-01 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-28 21:27 [PATCH] Add heartrate monitoring LE device to auto connect list Damjan Cvetko
2013-01-29 23:36 ` Johan Hedberg
2013-02-01 13:39   ` Damjan Cvetko
2013-02-01 16:11     ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).