diff options
| author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-10-15 19:24:51 -0300 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-07-18 20:58:43 +0200 |
| commit | 09533de634cdd847ca5d87bf71f1345d861353bb (patch) | |
| tree | 58dee33fe7142931dd0f7885f50b325634eac00a /include/linux/root_dev.h | |
| parent | b2da8f380c47f92dd95c26b330dbb04553751903 (diff) | |
Bluetooth: use l2cap_chan_ready() instead of duplicate code
In this case the replacement by l2cap_chan_ready() doesn't change the code
flow, the same operations will executed plus two others that have no
effect: the use of the parent socket, that a non-oriented channel doesn't
have and the reset of conf_state, which is also fine since the connection
is ready at this point.
Change-Id: I96a54cf02cfefa546949f71d2f44ffaee1c2108c
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions
