aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-01 18:41:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-01 18:41:05 +0000
commitc330325bda9a3149bf3cfd9924a6ecaf660ab127 (patch)
tree07f8fb1e2a176f50f5843b2ad965a154d7e11ea5 /package
parent901618c68d70a87159de503efcdb1f29a091f292 (diff)
downloadupstream-c330325bda9a3149bf3cfd9924a6ecaf660ab127.tar.gz
upstream-c330325bda9a3149bf3cfd9924a6ecaf660ab127.tar.bz2
upstream-c330325bda9a3149bf3cfd9924a6ecaf660ab127.zip
broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
SVN-Revision: 27868
Diffstat (limited to 'package')
-rw-r--r--package/broadcom-wl/patches/008-fix_virtual_interfaces.patch11
1 files changed, 11 insertions, 0 deletions
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
index 0000000000..6cffa27810
--- /dev/null
+++ b/package/broadcom-wl/patches/008-fix_virtual_interfaces.patch
@@ -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);