diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-11-01 09:37:03 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-11-01 18:27:11 -0400 |
commit | fffadc08ebf1f4c61bb8f9be0f1d8c3c053d815f (patch) | |
tree | 4669ea95e47533e8b39b0546daf0df7c325cae3e /net/bluetooth/a2mp.c | |
parent | 6e1df6a60372b6ea00c480c1cd8c8c8134357d89 (diff) |
Bluetooth: Rename ctrl_id to remote_amp_id
Since we have started to use local_amp_id for local AMP
Controller Id it makes sense to rename ctrl_id to remote_amp_id
since it represents remote AMP controller Id.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/a2mp.c')
-rw-r--r-- | net/bluetooth/a2mp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index d5136cfb57e2..2f67d5ecc907 100644 --- a/net/bluetooth/a2mp.c +++ b/net/bluetooth/a2mp.c | |||
@@ -423,7 +423,7 @@ static int a2mp_getampassoc_rsp(struct amp_mgr *mgr, struct sk_buff *skb, | |||
423 | 423 | ||
424 | BT_DBG("Created hcon %p: loc:%d -> rem:%d", hcon, hdev->id, rsp->id); | 424 | BT_DBG("Created hcon %p: loc:%d -> rem:%d", hcon, hdev->id, rsp->id); |
425 | 425 | ||
426 | mgr->bredr_chan->ctrl_id = rsp->id; | 426 | mgr->bredr_chan->remote_amp_id = rsp->id; |
427 | 427 | ||
428 | amp_create_phylink(hdev, mgr, hcon); | 428 | amp_create_phylink(hdev, mgr, hcon); |
429 | 429 | ||
@@ -939,7 +939,7 @@ void a2mp_send_create_phy_link_req(struct hci_dev *hdev, u8 status) | |||
939 | goto clean; | 939 | goto clean; |
940 | 940 | ||
941 | req->local_id = hdev->id; | 941 | req->local_id = hdev->id; |
942 | req->remote_id = bredr_chan->ctrl_id; | 942 | req->remote_id = bredr_chan->remote_amp_id; |
943 | memcpy(req->amp_assoc, loc_assoc->data, loc_assoc->len); | 943 | memcpy(req->amp_assoc, loc_assoc->data, loc_assoc->len); |
944 | 944 | ||
945 | a2mp_send(mgr, A2MP_CREATEPHYSLINK_REQ, __next_ident(mgr), len, req); | 945 | a2mp_send(mgr, A2MP_CREATEPHYSLINK_REQ, __next_ident(mgr), len, req); |