[media] tda10071: fix DiSEqC message len check
authorAntti Palosaari <crope@iki.fi>
Sun, 1 Jul 2012 18:29:15 +0000 (15:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jul 2012 15:59:20 +0000 (12:59 -0300)
commit84431c2ae5e41dfcdba75e2f81e732664381cec9
tree4d9e68a8180244b70fc73430218b7dcaadd5fda7
parent36ad92e06e4777e3c3c433797aa89c6a6e7d2fd2
[media] tda10071: fix DiSEqC message len check

Message length check was wrong which could cause garbage sent to LNB,
but only in case garbage got from the userspace application.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/tda10071.c