aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hedberg <[email protected]>2013-04-29 19:35:38 +0300
committerGustavo Padovan <[email protected]>2013-06-23 00:23:48 +0100
commit9f22398ce4baf816535415e65949d03f55a7973a (patch)
tree2b7dad90909ec81acb41134b89f525e4d25e80b3 /tools/perf/scripts/python
parent141d57065afd11977c4d346f64b25350445bf689 (diff)
Bluetooth: Fix hardcoding ATT CID in __l2cap_chan_add()
Since in the future more than the ATT CID may be permissible we should not be hardcoding it for all LE connections in __l2cap_chan_add(). Instead, the source ATT CID should only be set if the destination is also ATT, and in other cases we should just use the existing dynamic CID allocation function. Assigning scid based on dcid means that whenever __l2cap_chan_add() is called that chan->dcid is properly initialized. l2cap_le_conn_ready() wasn't initializing is properly so this is also taken care of in this patch. Signed-off-by: Johan Hedberg <[email protected]> Acked-by: Marcel Holtmann <[email protected]> Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions