1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:30:16 +02:00

atheros: fix mii phy read/write ioctl

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27747 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-07-24 09:11:10 +00:00
parent 934c43cf9c
commit 79860ef18f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;