diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-18 04:49:25 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-18 04:53:57 -0400 |
commit | eb622495e89879bb7d62bb27b2561a306bbe2401 (patch) | |
tree | 7b3c5955524ca3c83f84ff5d8ded8c2ef02ac23a /net/bluetooth/hci_sock.c | |
parent | 2bfa3531f654d82db01d3121ae2de7a8696a4555 (diff) |
Bluetooth: Fix ATT socket backwards compatibility with user space
Old user space versions bind the Attribute Protocol socket to
BDADDR_BREDR when they should be using BDADDR_LE_PUBLIC or
BDADDR_LE_RANDOM. The kernel recently introduced stricter checks on the
socket parameters but we need to punch this hole for old user space
versions to keep them working.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_sock.c')
0 files changed, 0 insertions, 0 deletions