diff options
author | Ido Yariv | 2012-04-20 15:46:07 -0300 |
---|---|---|
committer | Gustavo Padovan | 2012-05-09 01:40:41 -0300 |
commit | c22876814ee9cc72f84996b78203b5530c61bee8 (patch) | |
tree | 1dca2dc1271442b9b81ae2389eb644352c2c2f95 /net/packet | |
parent | d8ce9395252fa9a264c04e7ab9949f4f7ec96f5b (diff) |
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/packet')
0 files changed, 0 insertions, 0 deletions