summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSzymon Janc <ext.szymon.janc@tieto.com>2016-09-27 17:13:43 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2016-10-04 15:44:45 +0000
commit6526e66b62c27e3f7592470786f3186925c36518 (patch)
treee3f5bbf6d93c6ae6c5ad85031caef1ff600381bd /net
parentf30b3debc6350748720298812a246a175e2d332e (diff)
Bluetooth: L2CAP: Rename br_channels to br_fixed_channels
This clarify what this list holds making code more readable. Change-Id: Ia212cf611cbf2c2deab139324120b993bf14d06f Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/l2cap_br.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/bluetooth/l2cap_br.c b/net/bluetooth/l2cap_br.c
index a0c8913c2..d961929cf 100644
--- a/net/bluetooth/l2cap_br.c
+++ b/net/bluetooth/l2cap_br.c
@@ -96,7 +96,7 @@ enum {
};
static struct bt_l2cap_server *br_servers;
-static struct bt_l2cap_fixed_chan *br_channels;
+static struct bt_l2cap_fixed_chan *br_fixed_channels;
/* Pool for outgoing BR/EDR signaling packets, min MTU is 48 */
static struct nano_fifo br_sig;
@@ -559,7 +559,7 @@ void bt_l2cap_br_connected(struct bt_conn *conn)
struct bt_l2cap_chan *chan;
struct bt_l2cap_br *l2cap;
- fchan = br_channels;
+ fchan = br_fixed_channels;
for (; fchan; fchan = fchan->_next) {
struct bt_l2cap_br_chan *ch;
@@ -1607,8 +1607,8 @@ void bt_l2cap_br_fixed_chan_register(struct bt_l2cap_fixed_chan *chan)
{
BT_DBG("CID 0x%04x", chan->cid);
- chan->_next = br_channels;
- br_channels = chan;
+ chan->_next = br_fixed_channels;
+ br_fixed_channels = chan;
}
void bt_l2cap_br_init(void)