Skip to content
Commit b2a0f274 authored by Petko Manolov's avatar Petko Manolov Committed by Greg Kroah-Hartman
Browse files

net: rtl8150: Use the new usb control message API.



The old usb_control_msg() let the caller handle the error and also did not
account for partial reads.  Since these are now considered harmful, move the
driver over to usb_control_msg_recv/send() calls.

Signed-off-by: default avatarPetko Manolov <petko.manolov@konsulko.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Link: https://lore.kernel.org/r/20200927124909.16380-3-petko.manolov@konsulko.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5789051f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment