]> git.karo-electronics.de Git - karo-tx-linux.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>
Sat, 4 Jun 2011 13:35:12 +0000 (10:35 -0300)
commit3995223038d71e75def28c11d4e802f0bb7eff38
treef337319f1d6ac70837524f66a77e15b7a33eee25
parentc6cbbfc072f696a95a189e7b2b3d8490e13531ef
[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