Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262446
b: refs/heads/master
c: 956837f
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Aug 1, 2011
1 parent 19c947d commit df529b4
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: a1889c0d2039a53ae04abb9f20c62500bd312bf3
refs/heads/master: 956837f7c954443f426a82ba6f17b33488cf9a0c
4 changes: 2 additions & 2 deletions trunk/drivers/net/niu.c
Original file line number Diff line number Diff line change
Expand Up @@ -9201,7 +9201,7 @@ static int __devinit niu_ldg_init(struct niu *np)

first_chan = 0;
for (i = 0; i < port; i++)
first_chan += parent->rxchan_per_port[port];
first_chan += parent->rxchan_per_port[i];
num_chan = parent->rxchan_per_port[port];

for (i = first_chan; i < (first_chan + num_chan); i++) {
Expand All @@ -9217,7 +9217,7 @@ static int __devinit niu_ldg_init(struct niu *np)

first_chan = 0;
for (i = 0; i < port; i++)
first_chan += parent->txchan_per_port[port];
first_chan += parent->txchan_per_port[i];
num_chan = parent->txchan_per_port[port];
for (i = first_chan; i < (first_chan + num_chan); i++) {
err = niu_ldg_assign_ldn(np, parent,
Expand Down

0 comments on commit df529b4

Please sign in to comment.