]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix breakage in amp_write_rem_assoc_frag()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 1 Aug 2015 12:30:08 +0000 (15:30 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 Aug 2015 18:41:34 +0000 (20:41 +0200)
commitc4fd22b12c24a3cd485cce29a80dc65ada4f6613
tree433a4d7baed7d2c888e83df77f5708939c89bd55
parentb699ef7be789477ef5e3749047073f66ec14f44a
Bluetooth: Fix breakage in amp_write_rem_assoc_frag()

We should be passing the pointer itself instead of the address of the
pointer.

This was a copy and paste bug when we replaced the calls to
hci_send_cmd().  Originally, the arguments were "len, cp" but we
overwrote them with "sizeof(cp), &cp" by mistake.

Fixes: 71e6f18aa0ed ('Bluetooth: Move amp assoc read/write completed callback to amp.c')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/amp.c