]> git.baikalelectronics.ru Git - kernel.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)
commit1f70dbcc9f4ec69bb6f934801a871088d35cdfb5
treed2df4d39e0d14b05046851b2eb2f5ca338e7ad9e
parent2cd4e1382cb90fb4728370993548b65f62dd5bfa
[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