Bluetooth: Restrict to one SCO listening socket
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Apr 2012 12:37:58 +0000 (14:37 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:39 +0000 (01:40 -0300)
commitfb3340594bd6630c27e31ddeff25b7002fb4558e
tree81908435e0842679398d8830f56d4395c81d76bd
parent8ed21f7eece54bb80eea5e31c3d9c6c7b6517e49
Bluetooth: Restrict to one SCO listening socket

The SCO sockets are only identified by its address. So only allow one
SCO socket in listening state per address or BDADDR_ANY.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/sco.c