mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
c330325bda
SVN-Revision: 27868
12 lines
302 B
Diff
12 lines
302 B
Diff
--- 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);
|