summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch2
-rw-r--r--target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch
index 42d9229b1..428bd478c 100644
--- a/target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch
@@ -1198,7 +1198,7 @@
+ 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;
diff --git a/target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch
index 42d9229b1..428bd478c 100644
--- a/target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch
@@ -1198,7 +1198,7 @@
+ 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;