diff options
author | Vikrampal Yadav <vikram.pal@samsung.com> | 2015-01-07 13:53:15 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-01-12 10:08:03 -0200 |
commit | 8a433af6174a8b2977e8acfdb23a7abf9d2ae200 (patch) | |
tree | 6c3188b347b7fdf30c7ea4fcdbc636381114b346 /monitor/l2cap.c | |
parent | b0e25b55a54d4d8acbf2c63271c2c81a8752f96f (diff) | |
download | bluez-8a433af6174a8b2977e8acfdb23a7abf9d2ae200.tar.gz |
monitor: Make the parameter name generic
Changed dcid to cid to make it sound generic as this function is called
with both dcid and scid.
Diffstat (limited to 'monitor/l2cap.c')
-rw-r--r-- | monitor/l2cap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor/l2cap.c b/monitor/l2cap.c index 0b6f7525d..a09bbbc90 100644 --- a/monitor/l2cap.c +++ b/monitor/l2cap.c @@ -421,7 +421,7 @@ static struct { }; static void print_config_options(const struct l2cap_frame *frame, - uint8_t offset, uint16_t dcid, bool response) + uint8_t offset, uint16_t cid, bool response) { const uint8_t *data = frame->data + offset; uint16_t size = frame->size - offset; @@ -496,7 +496,7 @@ static void print_config_options(const struct l2cap_frame *frame, break; case 0x04: if (response) - assign_mode(frame, data[consumed + 2], dcid); + assign_mode(frame, data[consumed + 2], cid); switch (data[consumed + 2]) { case 0x00: |