Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] technisat-usb2: fix typo in variable name

The variable txlen was used instead of rxlen in boundary check.
(copy-paste error)

Signed-off-by: Felipe Pena <felipensp@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

authored by

Felipe Pena and committed by
Mauro Carvalho Chehab
648ad154 340f70e9

+1 -1
+1 -1
drivers/media/usb/dvb-usb/technisat-usb2.c
··· 102 102 if (rxlen > 62) { 103 103 err("i2c RX buffer can't exceed 62 bytes (dev 0x%02x)", 104 104 device_addr); 105 - txlen = 62; 105 + rxlen = 62; 106 106 } 107 107 108 108 b[0] = I2C_SPEED_100KHZ_BIT;