diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-09-27 10:26:19 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-27 16:30:40 -0400 |
commit | a02226d6ff5098e6b97590cc55aabe7faf0860ed (patch) | |
tree | 5ec09ebf86af46cdf37ecca872f2cfd12004edb7 /net/bluetooth/a2mp.c | |
parent | 5a349186692950b13896abc3fb2f491d023f95a1 (diff) |
Bluetooth: AMP: Create Physical Link
When receiving A2MP Get AMP Assoc Response execute HCI Create Physical
Link to AMP controller. Define function which will run when receiving
HCI Command Status.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index 93adaad782ed..773e8fc41670 100644 --- a/net/bluetooth/a2mp.c +++ b/net/bluetooth/a2mp.c | |||
@@ -392,6 +392,8 @@ static int a2mp_getampassoc_rsp(struct amp_mgr *mgr, struct sk_buff *skb, | |||
392 | 392 | ||
393 | BT_DBG("Created hcon %p: loc:%d -> rem:%d", hcon, hdev->id, rsp->id); | 393 | BT_DBG("Created hcon %p: loc:%d -> rem:%d", hcon, hdev->id, rsp->id); |
394 | 394 | ||
395 | amp_create_phylink(hdev, mgr, hcon); | ||
396 | |||
395 | done: | 397 | done: |
396 | hci_dev_put(hdev); | 398 | hci_dev_put(hdev); |
397 | skb_pull(skb, len); | 399 | skb_pull(skb, len); |