Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
capmt: Fix filter data message for recent oscam
  • Loading branch information
perexg committed Sep 29, 2014
1 parent ccb6715 commit 5b8e6fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/descrambler/capmt.c
Expand Up @@ -813,7 +813,8 @@ capmt_filter_data(capmt_t *capmt, uint8_t adapter, uint8_t demux_index,
{
uint8_t *buf = alloca(len + 6);

buf[0] = buf[1] = buf[2] = buf[3] = 0xff;
buf[0] = buf[1] = 0xff;
buf[2] = buf[3] = 0;
buf[4] = demux_index;
buf[5] = filter_index;
memcpy(buf + 6, data, len);
Expand Down

0 comments on commit 5b8e6fc

Please sign in to comment.