[PATCH] bluetooth-device: Add safe guard against BT streaming irregularities.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Thu, May 7, 2009 at 7:54 PM, Jyri Sarha <jyri.sarha at nokia.com> wrote:
> ?#ifdef NOKIA
> ? ? if (USE_SCO_OVER_PCM(u)) {
> - ? ? ? ?if (start_stream_fd(u) < 0)
> + ? ? ? ?if (start_stream_fd(u) < 0) {
> + ? ? ? ? ? ?u->sink = NULL;
> + ? ? ? ? ? ?u->source = NULL;
> ? ? ? ? ? ? return -1;
> + ? ? ? ?}

This was part of a different commit from me, but is in fact a minor
fix on error condition.

Note: I didn't review the patch. I guess a signed-off policy would be
good when we send patches in the future.

regards,

-- 
Marc-Andr? Lureau



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux