diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-06-22 19:20:49 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 12:13:08 +0200 |
commit | f51b10ef6520f2bd725dc333e771eabd55d6c04f (patch) | |
tree | 2334e29554e17384ccc6270f4baaaa69a24e2579 /include/media | |
parent | V4L/DVB (8125): This driver adds support for the Sensoray 2255 devices. (diff) | |
download | linux-f51b10ef6520f2bd725dc333e771eabd55d6c04f.tar.xz linux-f51b10ef6520f2bd725dc333e771eabd55d6c04f.zip |
V4L/DVB (8126): net endianness fix
According to RFC 4326 (4.1) D-bit is MSB in net-endian 16bit.
dvb_net.c did
/* Set D-bit for CRC32 verification,
* if it was set originally. */
ulen |= 0x0080;
which works of little-endian (htons(1<<15) is 0x0080 there), but breaks
on big-endian.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions