bcm_sta: add patch to rename device from eth* to wlan*

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-12-06 09:11:02 +01:00
parent a1343b3663
commit 2e24136197

View File

@ -0,0 +1,24 @@
diff -Naur bcm_sta-5.60.246.6/x86-32/src/wl/sys/wl_linux.c bcm_sta-5.60.246.6.patch/x86-32/src/wl/sys/wl_linux.c
--- bcm_sta-5.60.246.6/x86-32/src/wl/sys/wl_linux.c 2010-10-22 04:18:57.000000000 +0200
+++ bcm_sta-5.60.246.6.patch/x86-32/src/wl/sys/wl_linux.c 2010-12-02 05:17:28.037326623 +0100
@@ -187,7 +187,7 @@
static int nompc = 0;
module_param(nompc, int, 0);
-static char name[IFNAMSIZ] = "eth%d";
+static char name[IFNAMSIZ] = "wlan%d";
module_param_string(name, name, IFNAMSIZ, 0);
#ifndef SRCBASE
diff -Naur bcm_sta-5.60.246.6/x86-64/src/wl/sys/wl_linux.c bcm_sta-5.60.246.6.patch/x86-64/src/wl/sys/wl_linux.c
--- bcm_sta-5.60.246.6/x86-64/src/wl/sys/wl_linux.c 2010-10-22 04:23:55.000000000 +0200
+++ bcm_sta-5.60.246.6.patch/x86-64/src/wl/sys/wl_linux.c 2010-12-02 05:17:42.554495917 +0100
@@ -187,7 +187,7 @@
static int nompc = 0;
module_param(nompc, int, 0);
-static char name[IFNAMSIZ] = "eth%d";
+static char name[IFNAMSIZ] = "wlan%d";
module_param_string(name, name, IFNAMSIZ, 0);
#ifndef SRCBASE