diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-01-24 15:13:23 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-01-24 15:13:23 +0200 |
commit | 249d5d4c44da47a08d58d25579ab7be370659a4d (patch) | |
tree | becf86fec74b160e460a72a7c963c506e59b9da7 /plugins/policy.c | |
parent | 9fd2a5879c53e5933402e143ed206e91211d7fd9 (diff) | |
download | bluez-249d5d4c44da47a08d58d25579ab7be370659a4d.tar.gz |
policy: Fix not reseting sink source
policy_connect_sink shall reset the sink_timer not source_timer.
Diffstat (limited to 'plugins/policy.c')
-rw-r--r-- | plugins/policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/policy.c b/plugins/policy.c index c9a7c84b9..ece07b215 100644 --- a/plugins/policy.c +++ b/plugins/policy.c @@ -212,7 +212,7 @@ static gboolean policy_connect_sink(gpointer user_data) struct policy_data *data = user_data; struct btd_service *service; - data->source_timer = 0; + data->sink_timer = 0; data->sink_retries++; service = btd_device_get_service(data->dev, A2DP_SINK_UUID); |