linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] android/health: Fix setting wrong PSM for SDP record
@ 2014-06-26  7:14 Andrei Emeltchenko
  2014-06-26  7:43 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Emeltchenko @ 2014-06-26  7:14 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

---
 android/health.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/health.c b/android/health.c
index b07b11d..79d8055 100644
--- a/android/health.c
+++ b/android/health.c
@@ -387,7 +387,7 @@ static int register_service_additional_protocols(sdp_record_t *rec,
 	if (!l2cap_list)
 		goto fail;
 
-	dcpsm = mcap_get_ctrl_psm(mcap, &err);
+	dcpsm = mcap_get_data_psm(mcap, &err);
 	if (err)
 		goto fail;
 
-- 
1.8.3.2


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

* Re: [RFC] android/health: Fix setting wrong PSM for SDP record
  2014-06-26  7:14 [RFC] android/health: Fix setting wrong PSM for SDP record Andrei Emeltchenko
@ 2014-06-26  7:43 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-06-26  7:43 UTC (permalink / raw)
  To: Andrei Emeltchenko; +Cc: linux-bluetooth

Hi Andrei,

On Thursday 26 of June 2014 10:14:52 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
> 
> ---
>  android/health.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/android/health.c b/android/health.c
> index b07b11d..79d8055 100644
> --- a/android/health.c
> +++ b/android/health.c
> @@ -387,7 +387,7 @@ static int register_service_additional_protocols(sdp_record_t *rec,
>  	if (!l2cap_list)
>  		goto fail;
>  
> -	dcpsm = mcap_get_ctrl_psm(mcap, &err);
> +	dcpsm = mcap_get_data_psm(mcap, &err);
>  	if (err)
>  		goto fail;
>  

Patch applied, thanks. 

-- 
Best regards, 
Szymon Janc

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

end of thread, other threads:[~2014-06-26  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-26  7:14 [RFC] android/health: Fix setting wrong PSM for SDP record Andrei Emeltchenko
2014-06-26  7:43 ` Szymon Janc

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).