* [PATCH BlueZ] Enable reconnection in Proximity monitor
@ 2012-11-04 20:31 Andre Guedes
2012-11-05 8:30 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Andre Guedes @ 2012-11-04 20:31 UTC (permalink / raw)
To: linux-bluetooth
According to Proximity Profile spec, when a connection is terminated
due to link loss a Proximity Monitor should attempt to reconnect.
---
profiles/proximity/monitor.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/profiles/proximity/monitor.c b/profiles/proximity/monitor.c
index 1a14265..e45fa4a 100644
--- a/profiles/proximity/monitor.c
+++ b/profiles/proximity/monitor.c
@@ -652,6 +652,8 @@ int monitor_register(struct btd_device *device,
attio_disconnected_cb,
monitor);
+ device_set_auto_connect(device, TRUE);
+
return 0;
}
--
1.8.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH BlueZ] Enable reconnection in Proximity monitor
2012-11-04 20:31 [PATCH BlueZ] Enable reconnection in Proximity monitor Andre Guedes
@ 2012-11-05 8:30 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-11-05 8:30 UTC (permalink / raw)
To: Andre Guedes; +Cc: linux-bluetooth
Hi Andre,
On Sun, Nov 04, 2012, Andre Guedes wrote:
> According to Proximity Profile spec, when a connection is terminated
> due to link loss a Proximity Monitor should attempt to reconnect.
> ---
> profiles/proximity/monitor.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-05 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-04 20:31 [PATCH BlueZ] Enable reconnection in Proximity monitor Andre Guedes
2012-11-05 8:30 ` 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).