aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/patches/013-interface-name.patch
blob: dbe1bdb89a67c8961288035899eab6686ad69769 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/driver/wl_linux.c
+++ b/driver/wl_linux.c
@@ -1583,7 +1583,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);