diff options
| author | Johan Hedberg <[email protected]> | 2013-04-29 19:35:40 +0300 |
|---|---|---|
| committer | Gustavo Padovan <[email protected]> | 2013-06-23 00:23:48 +0100 |
| commit | 97f57c0b14ad2ef0628fc6db48cd6c08e0e52c50 (patch) | |
| tree | 6e7388217a9fbb55f56d1442d2bea877fec6cea3 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d8729922b474eab65ca738028a2e69fb12e2eaa6 (diff) | |
Bluetooth: Fix duplicate call to l2cap_chan_ready()
In l2cap_le_conn_ready() after doing l2cap_chann_add() the LE channel is
part of the list which is subsequently iterated in l2cap_conn_ready() in
this loop each channel will get l2cap_chan_ready() called which would
result in trying to set the channel two times into BT_CONNECTED state.
Instead it makes sense to just add the channel but not call chan_ready
in l2cap_le_conn_ready, which is what this patch does.
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions