From: Felix Fietkau Date: Sun, 13 Nov 2005 22:52:48 +0000 (+0000) Subject: another small bugfix for wificonf X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=8fda9f3567fd32a24384ad2d5c7136693cc15896 another small bugfix for wificonf SVN-Revision: 2475 --- 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;