summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_conn.c
diff options
context:
space:
mode:
authorIdo Yariv <ido@wizery.com>2012-04-20 15:46:07 -0300
committerGustavo Padovan <gustavo@padovan.org>2012-05-09 01:40:41 -0300
commitc22876814ee9cc72f84996b78203b5530c61bee8 (patch)
tree1dca2dc1271442b9b81ae2389eb644352c2c2f95 /net/bluetooth/hci_conn.c
parentd8ce9395252fa9a264c04e7ab9949f4f7ec96f5b (diff)
downloadlinux-c22876814ee9cc72f84996b78203b5530c61bee8.tar.gz
linux-c22876814ee9cc72f84996b78203b5530c61bee8.tar.bz2
linux-c22876814ee9cc72f84996b78203b5530c61bee8.zip
Bluetooth: Search global l2cap channels by src/dst addresses
The cid or psm and the source address might not be enough to uniquely identify a global channel, especially when the source address is our own. For instance, when trying to communicate with two LE devices in master mode, data received from the both devices is sent to the same socket. Fix this by taking the destination address into account when choosing the socket. Signed-off-by: Ido Yariv <ido@wizery.com> Signed-off-by: Arik Nemtsov <arik@wizery.com> Tested-by: João Paulo Rechi Vita <jprvita@openbossa.org> Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
0 files changed, 0 insertions, 0 deletions