Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa0850e1 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarBenjamin Vernoux <bvernoux@gmail.com>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent d47fa531
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */