Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85850
b: refs/heads/master
c: 3b5bced
h: refs/heads/master
v: v3
  • Loading branch information
Matheos Worku authored and David S. Miller committed Feb 19, 2008
1 parent 8439439 commit 3529eb5
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 31729363418ea25b01aa9410838c38e36792e44c
refs/heads/master: 3b5bcedeeb755b6e813537fcf4c32f010b490aef
7 changes: 6 additions & 1 deletion trunk/drivers/net/niu.c
Original file line number Diff line number Diff line change
Expand Up @@ -5147,7 +5147,12 @@ static void niu_set_rx_mode(struct net_device *dev)
index++;
}
} else {
for (i = 0; i < niu_num_alt_addr(np); i++) {
int alt_start;
if (np->flags & NIU_FLAGS_XMAC)
alt_start = 0;
else
alt_start = 1;
for (i = alt_start; i < niu_num_alt_addr(np); i++) {
err = niu_enable_alt_mac(np, i, 0);
if (err)
printk(KERN_WARNING PFX "%s: Error %d "
Expand Down

0 comments on commit 3529eb5

Please sign in to comment.