openwrtv4/package/kernel/broadcom-wl/patches/013-interface-name.patch
Hauke Mehrtens b98f77f3d9 broadcom-wl: perform additional cleanup on wl module unload
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38761
2013-11-11 22:03:58 +00:00

11 lines
361 B
Diff

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