diff options
author | Greg Kroah-Hartman | 2020-09-14 17:37:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2020-09-16 11:02:58 +0200 |
commit | e9b20f0fe17ab06c3b55153046209987749daa48 (patch) | |
tree | 63c9306ff04a2b38a8838f63a4fdcebe3c525abb /drivers/ntb | |
parent | 119ae38a5cdfbefdf926b34fbf65cd60dc82c95e (diff) |
Bluetooth: ath3k: use usb_control_msg_send() and usb_control_msg_recv()
The usb_control_msg_send() and usb_control_msg_recv() calls can return
an error if a "short" write/read happens, and they can handle data off
of the stack, so move the driver over to using those calls instead,
saving some logic when dynamically allocating memory.
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Link: https://lore.kernel.org/r/20200914153756.3412156-11-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions