diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-08-01 18:41:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-08-01 18:41:05 +0000 |
commit | e3b9933f663eeaad82b633536a7115320218ebaf (patch) | |
tree | 290162801bd4c303b532cb03b58abfe833ae443d /package | |
parent | 12f7419a645055652cea9510e2b620a8ddef4420 (diff) | |
download | master-187ad058-e3b9933f663eeaad82b633536a7115320218ebaf.tar.gz master-187ad058-e3b9933f663eeaad82b633536a7115320218ebaf.tar.bz2 master-187ad058-e3b9933f663eeaad82b633536a7115320218ebaf.zip |
broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27868 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/broadcom-wl/patches/008-fix_virtual_interfaces.patch | 11 |
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); |