summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci-budget
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-01-17 14:07:06 +0000
committerHolger Waechtler <devnull@localhost>2003-01-17 14:07:06 +0000
commit2f28f60479940143524a333917f6ef4e6bacbcb8 (patch)
treeeb952ef1d5a28d497a9e2e477a309e2f5daf147a /linux/drivers/media/dvb/ttpci-budget
parent8224400559ef50b53e11400aa0853cb6769bdf6b (diff)
downloadmediapointer-dvb-s2-2f28f60479940143524a333917f6ef4e6bacbcb8.tar.gz
mediapointer-dvb-s2-2f28f60479940143524a333917f6ef4e6bacbcb8.tar.bz2
apply fix by <emard@softhome.net> in order to set demux_id correctly
Diffstat (limited to 'linux/drivers/media/dvb/ttpci-budget')
-rw-r--r--linux/drivers/media/dvb/ttpci-budget/budget-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget-core.c b/linux/drivers/media/dvb/ttpci-budget/budget-core.c
index e657885da..14ddd5db2 100644
--- a/linux/drivers/media/dvb/ttpci-budget/budget-core.c
+++ b/linux/drivers/media/dvb/ttpci-budget/budget-core.c
@@ -313,8 +313,8 @@ int budget_register(struct budget_s *budget)
dvb_add_frontend_ioctls (budget->dvb_adapter, budget_diseqc_ioctl, NULL, budget);
memcpy(budget->demux_id, "demux0_0", 9);
- budget->demux_id[7]=budget->dvb_adapter->num+0x30;
- dvbdemux->priv=(void *) budget;
+ budget->demux_id[5] = budget->dvb_adapter->num + '0';
+ dvbdemux->priv = (void *) budget;
dvbdemux->filternum=256;
dvbdemux->feednum=256;