[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bluetooth
Subject:    Re: [PATCH] fix bugs in HFP HF role audio part
From:       Martin Sucha <martin.sucha () jts-sro ! sk>
Date:       2009-06-30 7:46:21
Message-ID: 4A49C2CD.2060207 () jts-sro ! sk
[Download RAW message or body]

Hi Forrest,

> @@ -1137,7 +1142,11 @@ gboolean gateway_request_stream(struct audio_device *dev,
>  	GError *err = NULL;
>  	GIOChannel *io;
>  
> -	if (!gw->sco) {
> +	if (!gw->rfcomm) {
> +		gw->sco_start_cb = cb;
> +		gw->sco_start_cb_data = user_data;
> +		get_records(dev);
> +	} else if (!gw->sco) {
>  		if (!gw->rfcomm)
>  			return FALSE;
It seems that this return FALSE statement would never be reached. Is
it left there intentionally?

Regards

Martin Sucha
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic