]> git.hungrycats.org Git - linux/commitdiff
[PATCH] boolean typo in DVB
authorDave Jones <davej@redhat.com>
Mon, 9 Aug 2004 09:46:26 +0000 (02:46 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 9 Aug 2004 09:46:26 +0000 (02:46 -0700)
This looks like what was intended here..

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/dvb-core/dvb_demux.c

index e35059511941bee2c404a171719ea59e69eeb51f..657d5579b16b6e9c4679c90a11cdfcf88ad426c8 100644 (file)
@@ -179,7 +179,7 @@ static int dvb_dmx_swfilter_sectionfilter (struct dvb_demux_feed *feed,
                neq |= f->maskandnotmode[i] & xor;
        }
 
-       if (f->doneq & !neq)
+       if (f->doneq && !neq)
                return 0;
 
        return feed->cb.sec (feed->feed.sec.secbuf, feed->feed.sec.seclen,