Bluetooth: Reorder L2CAP functions to avoid forward declarations
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 17 Jan 2014 18:45:10 +0000 (20:45 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:36 +0000 (09:51 +0200)
commit162b49e75cf2c6858852e7a0ae2c2e30e51f0e09
tree465d71b8e46ef99df94fe1acc6744787296577ec
parent1e56f1eb2bbeab0ddc3a1e536d2a0065cfe4c131
Bluetooth: Reorder L2CAP functions to avoid forward declarations

This patch moves the l2cap_conn_add, is_valid_psm and l2cap_chan_connect
functions further down in l2cap_core.c. The patch doesn't contain
anything else except the relocation of these functions. By moving the
functions further down the patch enables a subsequent patch that adds a
pending RX queue to be implemented without a forward declaration of a
function.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c