Re: [patch] Bluetooth: fix breakage in amp_write_rem_assoc_frag()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dan,

> 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: b3d3914006a0 ('Bluetooth: Move amp assoc read/write completed callback to amp.c')
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
> I'm pretty sure this is correct, but it's a static checker fix and I
> haven't tested it.

it is correct and patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux