PageRenderTime 22ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.38-02_rename_device-0.1.patch

http://github.com/OpenELEC/OpenELEC.tv
Patch | 26 lines | 22 code | 4 blank | 0 comment | 0 complexity | ce4024563a5fb445a5a0410609044a24 MD5 | raw file
 1diff -Naur bcm_sta-5.100.82.38/x86-32/src/wl/sys/wl_linux.c bcm_sta-5.100.82.38.patch/x86-32/src/wl/sys/wl_linux.c
 2--- bcm_sta-5.100.82.38/x86-32/src/wl/sys/wl_linux.c	2010-12-15 02:58:07.000000000 +0100
 3+++ bcm_sta-5.100.82.38.patch/x86-32/src/wl/sys/wl_linux.c	2010-12-27 22:14:38.679428984 +0100
 4@@ -251,7 +251,7 @@
 5 #define quote_str(s) to_str(s)
 6 
 7 #ifndef BRCM_WLAN_IFNAME
 8-#define BRCM_WLAN_IFNAME eth%d
 9+#define BRCM_WLAN_IFNAME wlan%d
10 #endif
11 
12 static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME);
13diff -Naur bcm_sta-5.100.82.38/x86-32/src/wl/sys/wl_linux.c.orig bcm_sta-5.100.82.38.patch/x86-32/src/wl/sys/wl_linux.c.orig
14diff -Naur bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c
15--- bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c	2010-12-15 03:01:09.000000000 +0100
16+++ bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c	2010-12-27 22:15:18.273865927 +0100
17@@ -251,7 +251,7 @@
18 #define quote_str(s) to_str(s)
19 
20 #ifndef BRCM_WLAN_IFNAME
21-#define BRCM_WLAN_IFNAME eth%d
22+#define BRCM_WLAN_IFNAME wlan%d
23 #endif
24 
25 static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME);
26diff -Naur bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c.orig bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c.orig