Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165314
b: refs/heads/master
c: 928ec5f
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Richter committed Sep 12, 2009
1 parent 951bfdd commit c5b807c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 64549e9357e5222a73e41aa87372b37abb047720
refs/heads/master: 928ec5f148e729076e9202e7c78babede628a50c
4 changes: 2 additions & 2 deletions trunk/drivers/firewire/ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1279,8 +1279,8 @@ static void bus_reset_tasklet(unsigned long data)
* the inverted quadlets and a header quadlet, we shift one
* bit extra to get the actual number of self IDs.
*/
self_id_count = (reg >> 3) & 0x3ff;
if (self_id_count == 0) {
self_id_count = (reg >> 3) & 0xff;
if (self_id_count == 0 || self_id_count > 252) {
fw_notify("inconsistent self IDs\n");
return;
}
Expand Down

0 comments on commit c5b807c

Please sign in to comment.