merge r13720 to 8.09
authorFelix Fietkau <nbd@openwrt.org>
Tue, 23 Dec 2008 10:59:02 +0000 (10:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 23 Dec 2008 10:59:02 +0000 (10:59 +0000)
SVN-Revision: 13731

target/linux/atheros/files/drivers/net/ar2313/ar2313.c

index 985af024c74a9d506632f6cbc5be4379e92bb0a1..995325a9136b86384d7bf469b6548180220ce52a 100644 (file)
@@ -1121,6 +1121,9 @@ static int ar2313_open(struct net_device *dev)
 {
        struct ar2313_private *sp = netdev_priv(dev);
 
+       /* reset the hardware, in case the MAC address changed */
+       ar2313_reset_reg(dev);
+
        dev->mtu = 1500;
        netif_start_queue(dev);