OSDN Git Service

Bluetooth: Reject incoming SCO connections without listeners
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 15 Jan 2009 20:57:02 +0000 (21:57 +0100)
committerNick Pelly <npelly@google.com>
Tue, 7 Apr 2009 00:39:27 +0000 (17:39 -0700)
commit88c9f85ad9ba65b64972df0b06b30aadba9ba2cf
treee84e7102e905029aa101255f3d652fc7f0a5470c
parent27a1692aacf91877d00741780004126e75a1f34e
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