broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 1 Aug 2011 18:41:05 +0000 (18:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 1 Aug 2011 18:41:05 +0000 (18:41 +0000)
SVN-Revision: 27868

package/broadcom-wl/patches/008-fix_virtual_interfaces.patch [new file with mode: 0644]

diff --git a/package/broadcom-wl/patches/008-fix_virtual_interfaces.patch b/package/broadcom-wl/patches/008-fix_virtual_interfaces.patch
new file mode 100644 (file)
index 0000000..6cffa27
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/driver/wl_linux.c
++++ b/driver/wl_linux.c
+@@ -1541,6 +1541,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);