broadcom-wl-6.30.223.271-ifname-wlan.patch 670 B

1234567891011121314151617181920
  1. default interface name for wifi should be wlan, not eth
  2. ---
  3. src/wl/sys/wl_linux.c | 2 +-
  4. 1 file changed, 1 insertion(+), 1 deletion(-)
  5. diff -Nurp broadcom-wl-6.30.223.271.orig/src/wl/sys/wl_linux.c broadcom-wl-6.30.223.271/src/wl/sys/wl_linux.c
  6. --- broadcom-wl-6.30.223.271.orig/src/wl/sys/wl_linux.c 2020-01-11 02:09:00.384207338 +0200
  7. +++ broadcom-wl-6.30.223.271/src/wl/sys/wl_linux.c 2020-01-11 02:18:35.306461030 +0200
  8. @@ -221,7 +221,7 @@ module_param(nompc, int, 0);
  9. #define to_str(s) #s
  10. #define quote_str(s) to_str(s)
  11. -#define BRCM_WLAN_IFNAME eth%d
  12. +#define BRCM_WLAN_IFNAME wlan%d
  13. static char intf_name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME);