]> git.karo-electronics.de Git - mv-sheeva.git/commit
[media] DVB: dvb_frontend: fix dtv_property_dump for DTV_DVBT2_PLP_ID
authorAndreas Oberritter <obi@linuxtv.org>
Thu, 26 May 2011 10:54:14 +0000 (07:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:52:24 +0000 (17:52 -0300)
commitec05a642140c7c34f7ba1cb8a94be9b1154286ae
treed2df4d39e0d14b05046851b2eb2f5ca338e7ad9e
parent7f116b3ea908e277132fd68c5ff4c46284ae2d97
[media] DVB: dvb_frontend: fix dtv_property_dump for DTV_DVBT2_PLP_ID

- Add missing entry to array "dtv_cmds".
- Set array size to DTV_MAX_COMMAND + 1 to avoid future off-by-ones.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_frontend.c