libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 10 Feb 2019 19:47:49 +0000 (20:47 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 19 Feb 2019 15:10:26 +0000 (17:10 +0200)
commit607076a904c435f2677fadaadd4af546279db68b
tree434747174c4c2b41d5d62b6cb8346de3bbdaa4a4
parent744972b2c4d2f62e5a1dde28404ec0f359726771
libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer

It doesn't make sense and the USB core warns on each submit of such
URB, easily flooding the message buffer with tracebacks.

Analogous issue was fixed in regular libertas driver in commit 6528d8804780
("libertas: don't set URB_ZERO_PACKET on IN USB transfer").

Cc: stable@vger.kernel.org
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Steve deRosier <derosier@cal-sierra.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas_tf/if_usb.c