Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134584
b: refs/heads/master
c: 1256f73
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Eder authored and David S. Miller committed Feb 18, 2009
1 parent d86a84b commit d890881
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1c10c49d83e2062b309cc88e8eb3abb05d397480
refs/heads/master: 1256f7394cc08c60d4502a2f08d7260f3fd97d56
2 changes: 1 addition & 1 deletion trunk/drivers/net/at1700.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,6 @@ set_rx_mode(struct net_device *dev)
struct net_local *lp = netdev_priv(dev);
unsigned char mc_filter[8]; /* Multicast hash filter */
unsigned long flags;
int i;

if (dev->flags & IFF_PROMISC) {
memset(mc_filter, 0xff, sizeof(mc_filter));
Expand Down Expand Up @@ -857,6 +856,7 @@ set_rx_mode(struct net_device *dev)

spin_lock_irqsave (&lp->lock, flags);
if (memcmp(mc_filter, lp->mc_filter, sizeof(mc_filter))) {
int i;
int saved_bank = inw(ioaddr + CONFIG_0);
/* Switch to bank 1 and set the multicast table. */
outw((saved_bank & ~0x0C00) | 0x0480, ioaddr + CONFIG_0);
Expand Down

0 comments on commit d890881

Please sign in to comment.