summaryrefslogtreecommitdiff
path: root/package/kernel/broadcom-wl/patches/008-fix_virtual_interfaces.patch
blob: 360593115b50ea137211b53145ac7ae2b7525979 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/driver/wl_linux.c
+++ b/driver/wl_linux.c
@@ -1545,6 +1545,8 @@ wl_add_if(wl_info_t *wl, struct wlc_if* 
 		return NULL;
 	}
 
+	wl_if_setup(wlif->dev);
+
 	sprintf(wlif->dev->name, "%s%d.%d", devname, wl->pub->unit, wlif->subunit);
 	if (remote)
 		bcopy(remote, &wlif->remote, ETHER_ADDR_LEN);