Skip to content
Commit 31787f53 authored by hayeswang's avatar hayeswang Committed by David S. Miller
Browse files

net/usb/r8152: make sure the USB buffer is DMA-able



Allocate the required memory before calling usb_control_msg. And
the additional memory copy is necessary.

Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 543ae7f9
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