Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271795
b: refs/heads/master
c: 2d04c13
h: refs/heads/master
i:
  271793: 9e964a5
  271791: e051b54
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Sep 9, 2011
1 parent c7561c6 commit 1977717
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b5d01e9f66446be0c2beebfab0463210bed315d
refs/heads/master: 2d04c13a507f5a01daa7422cd52250809573cfdb
3 changes: 2 additions & 1 deletion trunk/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)
if (adap == NULL)
return -ENODEV;

if (adap->active_fe < 0) {
if ((adap->active_fe < 0) ||
(adap->active_fe >= adap->num_frontends_initialized)) {
return -EINVAL;
}

Expand Down

0 comments on commit 1977717

Please sign in to comment.