/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
- diff -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
- --- bcm_sta-5.100.82.38/x86-32/src/wl/sys/wl_linux.c 2010-12-15 02:58:07.000000000 +0100
- +++ bcm_sta-5.100.82.38.patch/x86-32/src/wl/sys/wl_linux.c 2010-12-27 22:14:38.679428984 +0100
- @@ -251,7 +251,7 @@
- #define quote_str(s) to_str(s)
-
- #ifndef BRCM_WLAN_IFNAME
- -#define BRCM_WLAN_IFNAME eth%d
- +#define BRCM_WLAN_IFNAME wlan%d
- #endif
-
- static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME);
- diff -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
- diff -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
- --- bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c 2010-12-15 03:01:09.000000000 +0100
- +++ bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c 2010-12-27 22:15:18.273865927 +0100
- @@ -251,7 +251,7 @@
- #define quote_str(s) to_str(s)
-
- #ifndef BRCM_WLAN_IFNAME
- -#define BRCM_WLAN_IFNAME eth%d
- +#define BRCM_WLAN_IFNAME wlan%d
- #endif
-
- static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME);
- diff -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