broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
SVN-Revision: 27868
This commit is contained in:
parent
901618c68d
commit
c330325bda
1 changed files with 11 additions and 0 deletions
11
package/broadcom-wl/patches/008-fix_virtual_interfaces.patch
Normal file
11
package/broadcom-wl/patches/008-fix_virtual_interfaces.patch
Normal file
|
@ -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);
|
Loading…
Reference in a new issue