atheros: fix mii phy read/write ioctl
[openwrt/svn-archive/archive.git] / target / linux / atheros / patches-2.6.38 / 110-ar2313_ethernet.patch
index 42d9229..428bd47 100644 (file)
 +      case SIOCGMIIPHY:
 +      case SIOCGMIIREG:
 +      case SIOCSMIIREG:
-+              return phy_mii_ioctl(sp->phy_dev, data, cmd);
++              return phy_mii_ioctl(sp->phy_dev, ifr, cmd);
 +
 +      default:
 +              break;