/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

  1. 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
  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. #ifndef BRCM_WLAN_IFNAME
  7. -#define BRCM_WLAN_IFNAME eth%d
  8. +#define BRCM_WLAN_IFNAME wlan%d
  9. #endif
  10. static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME);
  11. 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
  12. 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
  13. --- bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c 2010-12-15 03:01:09.000000000 +0100
  14. +++ bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c 2010-12-27 22:15:18.273865927 +0100
  15. @@ -251,7 +251,7 @@
  16. #define quote_str(s) to_str(s)
  17. #ifndef BRCM_WLAN_IFNAME
  18. -#define BRCM_WLAN_IFNAME eth%d
  19. +#define BRCM_WLAN_IFNAME wlan%d
  20. #endif
  21. static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME);
  22. 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