Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
comedi: vmk80xx: fix expression for tx buffer size
The expression for setting the size of the allocated bulk TX buffer (`devpriv->usb_tx_buf`) is calling `usb_endpoint_maxp(devpriv->ep_rx)`, which is using the wrong endpoint (should be `devpriv->ep_tx`). Fix it. Fixes: a23461c ("comedi: vmk80xx: fix transfer-buffer overflow") Cc: Johan Hovold <[email protected]> Cc: [email protected] # 4.9+ Reviewed-by: Johan Hovold <[email protected]> Signed-off-by: Ian Abbott <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information