diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-02-09 20:59:10 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-02-14 13:39:30 -0800 |
commit | c10a848cea89a8f0418fa0efec33c4e8507aab4b (patch) | |
tree | 1c6eaf6a370f29ca4438bac6a8654c1fabbb1ae2 /include/net/dst.h | |
parent | c949c224cfd7d5445ef947e8b93c0657323d5be5 (diff) |
Bluetooth: Verify dlci not in use before rfcomm_dev create
Only one session/channel combination may be in use at any one
time. However, the failure does not occur until the tty is
opened (in rfcomm_dlc_open()).
Because these settings are actually bound at rfcomm device
creation (via RFCOMMCREATEDEV ioctl), validate and fail before
creating the rfcomm tty device.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Tested-By: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/dst.h')
0 files changed, 0 insertions, 0 deletions