提交 aa0850e1 编写于 作者: A Antti Palosaari 提交者: Mauro Carvalho Chehab

[media] airspy: increase USB control message buffer size

Driver requested device firmware version string during probe using
only 24 byte long buffer. That buffer is too small for newer firmware
versions, which causes device firmware hang - device stops responding
to any commands after that. Increase buffer size to 128 which should
be enough for any current and future version strings.

Link: https://github.com/airspy/host/issues/27

Cc: <stable@vger.kernel.org> # 3.17+
Reported-by: NBenjamin Vernoux <bvernoux@gmail.com>
Signed-off-by: NAntti Palosaari <crope@iki.fi>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 d47fa531
......@@ -134,7 +134,7 @@ struct airspy {
int urbs_submitted;
/* USB control message buffer */
#define BUF_SIZE 24
#define BUF_SIZE 128
u8 buf[BUF_SIZE];
/* Current configuration */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册