atheros: reset ethernet mac when running ifconfig eth0 up, so that changing the mac address works
SVN-Revision: 13720
This commit is contained in:
parent
1cdaa2d3dc
commit
fcce322e49
1 changed files with 3 additions and 0 deletions
|
@ -1121,6 +1121,9 @@ static int ar2313_open(struct net_device *dev)
|
||||||
{
|
{
|
||||||
struct ar2313_private *sp = netdev_priv(dev);
|
struct ar2313_private *sp = netdev_priv(dev);
|
||||||
|
|
||||||
|
/* reset the hardware, in case the MAC address changed */
|
||||||
|
ar2313_reset_reg(dev);
|
||||||
|
|
||||||
dev->mtu = 1500;
|
dev->mtu = 1500;
|
||||||
netif_start_queue(dev);
|
netif_start_queue(dev);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue