diff options
author | Johan Hovold <johan@kernel.org> | 2021-05-24 12:25:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-03 09:38:03 +0300 |
commit | d4a6f0df89cbc105ab0cbe9fd2dda64756684451 (patch) | |
tree | 716567fa6a0281bdf7d2f2f13ef022f9a14e5708 /net/mac80211 | |
parent | 582a9b9813ecc89a3b5944ea412f383d02904c50 (diff) | |
download | linux-d4a6f0df89cbc105ab0cbe9fd2dda64756684451.tar.xz |
net: hso: fix control-request directions
commit 1a6e9a9c68c1f183872e4bcc947382111c2e04eb upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions