mirror of https://github.com/hak5/openwrt.git
parent
e746170640
commit
31b2c31085
|
@ -47,7 +47,7 @@
|
|||
- snprintf(am->mii_bus.id, MII_BUS_ID_SIZE, "%x", 0);
|
||||
+ am->mii_bus = mdiobus_alloc();
|
||||
+ if (am->mii_bus == NULL) {
|
||||
+ err = -NOMEM;
|
||||
+ err = -ENOMEM;
|
||||
+ goto err_iounmap;
|
||||
+ }
|
||||
+
|
||||
|
|
Loading…
Reference in New Issue