summaryrefslogtreecommitdiff
path: root/openwrt/package/wificonf/wificonf.c
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/wificonf/wificonf.c')
-rw-r--r--openwrt/package/wificonf/wificonf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c
index 068090c..b243cfa 100644
--- a/openwrt/package/wificonf/wificonf.c
+++ b/openwrt/package/wificonf/wificonf.c
@@ -281,10 +281,10 @@ static int is_new_bcom(int skfd, char *ifname)
bzero(buf, 8192);
bcom_ioctl(skfd, ifname, WLC_DUMP, buf, 8192);
- if (strstr(buf, "3.130"))
- return 1;
+ if (strstr(buf, "3.90"))
+ return 0;
- return 0;
+ return 1;
}
static int bcom_get_wsec(int vif)