wifistix : Change wifistix wireless device name from mwlan to wlan.
authorPhilip Balister <philip@balister.org>
Tue, 2 Oct 2007 20:15:53 +0000 (20:15 +0000)
committerPhilip Balister <philip@balister.org>
Tue, 2 Oct 2007 20:15:53 +0000 (20:15 +0000)
packages/wifistix/wifistix-modules/marvell-devicename.patch

index 4846b09..62ebe89 100644 (file)
@@ -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;