summaryrefslogtreecommitdiff
path: root/net/bluetooth/a2mp.c
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-10-15 19:24:51 -0300
committerMarcel Holtmann <marcel@holtmann.org>2013-10-15 16:42:45 -0700
commit74e7574066e020dca8ad8a57927470e67ea91394 (patch)
treebecd92c0eb03be5527fc1148296a48210339426d /net/bluetooth/a2mp.c
parentdc25306b033cc27ca2a45b4bb307a437092408d1 (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. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/a2mp.c')
0 files changed, 0 insertions, 0 deletions