]> Pileus Git - ~andy/linux/blobdiff - net/bluetooth/l2cap_sock.c
Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetoot...
[~andy/linux] / net / bluetooth / l2cap_sock.c
index e7806e6d282c29af9c64f92aaee4632b50a6c8b6..20ef748b290602c0156833970193f490800e429a 100644 (file)
@@ -147,6 +147,9 @@ static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen)
                    __le16_to_cpu(la.l2_psm) == L2CAP_PSM_RFCOMM)
                        chan->sec_level = BT_SECURITY_SDP;
                break;
+       case L2CAP_CHAN_RAW:
+               chan->sec_level = BT_SECURITY_SDP;
+               break;
        }
 
        bacpy(&chan->src, &la.l2_bdaddr);