Bluetooth: Reject incoming SCO connections without listeners
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 15 Jan 2009 20:57:02 +0000 (21:57 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:24 +0000 (06:14 +0100)
commit71aeeaa1fd88fe7446391e0553336f0e0c2cfe6a
tree54ebd367cc0d8deb1de919f9c3c69782120ef97f
parentf66dc81f44d918ee1aa1a9d821bb2f25c7592bc0
Bluetooth: Reject incoming SCO connections without listeners

All SCO and eSCO connection are auto-accepted no matter if there is a
corresponding listening socket for them. This patch changes this and
connection requests for SCO and eSCO without any socket are rejected.

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