Revert "drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error"

This reverts commit f9b4a2b3d7.
This commit is contained in:
Ksawlii 2024-11-24 00:23:21 +01:00
parent 059a582057
commit 20521bf999

View file

@ -982,7 +982,7 @@ static int rtl2832_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid,
index, pid, onoff, dev->slave_ts);
/* skip invalid PIDs (0x2000) */
if (pid > 0x1fff || index >= 32)
if (pid > 0x1fff || index > 32)
return 0;
if (onoff)