Fix addition of virtual interfaces in "broadcom-wl" (dev->netdev_ops not 
initialized)

Signed-off-by: Nathan Hintz <nlhi...@hotmail.com>

--- /dev/null
+++ package/broadcom-wl/patches/007-fix-virtual-interfaces.patch
@@ -0,0 +1,11 @@
+--- a/driver/wl_linux.c
++++ b/driver/wl_linux.c
+@@ -1569,6 +1643,8 @@
+         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);                         
                  
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to