aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/wifistix/wifistix-modules/marvell-devicename.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/wifistix/wifistix-modules/marvell-devicename.patch b/packages/wifistix/wifistix-modules/marvell-devicename.patch
index 4846b0947a..62ebe89883 100644
--- a/packages/wifistix/wifistix-modules/marvell-devicename.patch
+++ b/packages/wifistix/wifistix-modules/marvell-devicename.patch
@@ -5,7 +5,7 @@
if (!(dev = init_etherdev(dev, sizeof(wlan_private)))) {
#else
- if (!(dev = alloc_etherdev(sizeof(wlan_private)))) {
-+ if (!(dev = alloc_netdev(sizeof(wlan_private), "mwlan%d", ether_setup))) {
++ if (!(dev = alloc_netdev(sizeof(wlan_private), "wlan%d", ether_setup))) {
#endif
PRINTM(MSG, "Init ethernet device failed!\n");
return NULL;