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:
parent
934c43cf9c
commit
79860ef18f
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user