diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2006-05-30 19:38:38 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2006-05-30 19:38:38 +0000 |
| commit | aef3bd9e643498397c2ef33ba17d166e10518d85 (patch) | |
| tree | 6c15064c011e398e88e169db7e9b3a0b5366aa93 /openwrt/target/linux/package/wlcompat | |
| parent | 5b05f4a5ee5fa1dd3246350b6672d05a1aaa7f4d (diff) | |
| download | mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.zip mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.gz mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.bz2 | |
resync with kamikaze
SVN-Revision: 3844
Diffstat (limited to 'openwrt/target/linux/package/wlcompat')
| -rw-r--r-- | openwrt/target/linux/package/wlcompat/Config.in | 4 | ||||
| -rw-r--r-- | openwrt/target/linux/package/wlcompat/wlcompat.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/target/linux/package/wlcompat/Config.in b/openwrt/target/linux/package/wlcompat/Config.in index 904d1e6..00774c1 100644 --- a/openwrt/target/linux/package/wlcompat/Config.in +++ b/openwrt/target/linux/package/wlcompat/Config.in @@ -2,7 +2,7 @@ config PACKAGE_KMOD_WLCOMPAT prompt "kmod-wlcompat..................... Wrapper providing Wireless Extensions for Broadcom wl module" tristate default y - depends PACKAGE_KMOD_BRCM_WL || PACKAGE_KMOD_BRCM_WL2 + depends PACKAGE_KMOD_BRCM_WL help A wrapper module, that provides Wireless Extension support for the proprietary Broadcom wl module. @@ -11,7 +11,7 @@ config PACKAGE_KMOD_WLCOMPAT_DEBUG prompt "kmod-wlcompat-debug............... Wrapper providing Wireless Extensions for Broadcom wl module (debug)" tristate default m - depends PACKAGE_KMOD_BRCM_WL || PACKAGE_KMOD_BRCM_WL2 + depends PACKAGE_KMOD_BRCM_WL help A wrapper module, that provides Wireless Extension support for the proprietary Broadcom wl module. (debug version) diff --git a/openwrt/target/linux/package/wlcompat/wlcompat.c b/openwrt/target/linux/package/wlcompat/wlcompat.c index 7063c80..1540a21 100644 --- a/openwrt/target/linux/package/wlcompat/wlcompat.c +++ b/openwrt/target/linux/package/wlcompat/wlcompat.c @@ -980,13 +980,13 @@ static int new_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) { static int __init wlcompat_init() { int found = 0, i; - char *devname = "eth0"; + char devname[4] = "wl0"; bss_force = 0; while (!found && (dev = dev_get_by_name(devname))) { if ((dev->wireless_handlers == NULL) && ((wl_ioctl(dev, WLC_GET_MAGIC, &i, sizeof(i)) == 0) && i == WLC_IOCTL_MAGIC)) found = 1; - devname[3]++; + devname[2]++; } if (!found) { |
