From 8d605adccc4b1197e89197e35141168d1143b61d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 13 Nov 2005 22:52:48 +0000 Subject: [PATCH] another small bugfix for wificonf SVN-Revision: 2475 --- openwrt/package/wificonf/wificonf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c index 1ca1e5eb58..74c8f68d39 100644 --- a/openwrt/package/wificonf/wificonf.c +++ b/openwrt/package/wificonf/wificonf.c @@ -412,7 +412,7 @@ static void setup_bcom(int skfd, char *ifname) bcom_ioctl(skfd, ifname, WLC_SET_WPA_AUTH, &val, sizeof(val)); - if (!nvram_match(wl_var("mode"), "wet")) { + if (nvram_match(wl_var("mode"), "wet")) { /* Enable in-driver WPA supplicant */ wsec_pmk_t pmk; -- 2.30.2