atheros: various braces fixes
[openwrt/openwrt.git] / target / linux / atheros / patches-3.10 / 220-enet_micrel_workaround.patch
index 58cccd0e325dd839417003e590f90f17f3954cb4..d7a4d4ad6151c535d236bd13a3cb6428cc40186c 100644 (file)
@@ -78,7 +78,7 @@
        kfree(dev);
        return 0;
  }
-@@ -1120,6 +1166,9 @@ static int ar231x_ioctl(struct net_devic
+@@ -1115,6 +1161,9 @@ static int ar231x_ioctl(struct net_devic
        struct ar231x_private *sp = netdev_priv(dev);
        int ret;
  
@@ -86,5 +86,5 @@
 +              return -ENODEV;
 +
        switch (cmd) {
        case SIOCETHTOOL:
+               spin_lock_irq(&sp->lock);