bluetooth-alsa: Connection fix for kernel >= 2.6.30

From: Per-Henrik Lundblom <hidden>
Date: 2012-01-02 13:14:32

Hi,

After trying to get bluetooth-alsa working on Ubuntu 11.10 (kernel
3.0.0) I realized that the struct sockaddr_l2 struct was changed in
kernel 2.6.30 to include a l2_cid variable. This variable is of course
not set in the a2dpd code which results in a socket connect() call
returning -EINVAL.

Simple fix is to memset struct before use. Patch is attached.
Unfortunately I don't have any idea where to send the patch, hope this
list isn't totally wrong.

/PH

--
Per-Henrik Lundblom           epost: ph@whatever.nu
telefon: 0733-20 71 26        hemsida: www.whatever.nu

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help