summaryrefslogtreecommitdiff
path: root/packages/wifistix/wifistix-modules/marvell-devicename.patch
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2007-10-02 20:15:53 +0000
committerPhilip Balister <philip@balister.org>2007-10-02 20:15:53 +0000
commitb122a0a61c4045fa1cffcf5ba8ef868bd453ec5e (patch)
treeea5218c0dc8063ddccdae944b9dc7d7c999b1bdc /packages/wifistix/wifistix-modules/marvell-devicename.patch
parentc226266988d37950b6e0ca0b967fa30fd43b714c (diff)
wifistix : Change wifistix wireless device name from mwlan to wlan.
Diffstat (limited to 'packages/wifistix/wifistix-modules/marvell-devicename.patch')
-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;