Home
last modified time | relevance | path

Searched hist:"1 a6e9a9c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dhso.c1a6e9a9c Mon May 24 04:25:11 CDT 2021 Johan Hovold <johan@kernel.org> net: hso: fix control-request directions

The direction of the pipe argument must match the request-type direction
bit or control requests may fail depending on the host-controller-driver
implementation.

Fix the tiocmset and rfkill requests which erroneously used
usb_rcvctrlpipe().

Fixes: 72dc1c096c70 ("HSO: add option hso driver")
Cc: stable@vger.kernel.org # 2.6.27
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>