013-interface-name.patch 361 B

1234567891011
  1. --- a/driver/wl_linux.c
  2. +++ b/driver/wl_linux.c
  3. @@ -1583,7 +1583,7 @@ wl_add_if(wl_info_t *wl, struct wlc_if*
  4. wl_if_setup(wlif->dev);
  5. - sprintf(wlif->dev->name, "%s%d.%d", devname, wl->pub->unit, wlif->subunit);
  6. + sprintf(wlif->dev->name, "%s%d-%d", devname, wl->pub->unit, wlif->subunit);
  7. if (remote)
  8. bcopy(remote, &wlif->remote, ETHER_ADDR_LEN);