kernel: remove module checks for 3.15/3.16/3.17
[openwrt.git] / package / kernel / broadcom-wl / patches / 013-interface-name.patch
1 --- a/driver/wl_linux.c
2 +++ b/driver/wl_linux.c
3 @@ -1583,7 +1583,7 @@ wl_add_if(wl_info_t *wl, struct wlc_if*
4  
5         wl_if_setup(wlif->dev);
6  
7 -       sprintf(wlif->dev->name, "%s%d.%d", devname, wl->pub->unit, wlif->subunit);
8 +       sprintf(wlif->dev->name, "%s%d-%d", devname, wl->pub->unit, wlif->subunit);
9         if (remote)
10                 bcopy(remote, &wlif->remote, ETHER_ADDR_LEN);
11