From 45f0d7e715c2e0a1aab99431edb61922873210a1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 9 Jun 2006 00:32:29 +0000 Subject: [PATCH] allow 63 chars in the wpa psk in wet mode (#556) SVN-Revision: 3917 --- 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 f1a787402d..7f83a8f595 100644 --- a/openwrt/package/wificonf/wificonf.c +++ b/openwrt/package/wificonf/wificonf.c @@ -546,7 +546,7 @@ static void setup_bcom(int skfd, char *ifname) if (val && strstr(v, "psk")) { val = (strstr(v, "psk2") ? 0x84 : 0x4); v = nvram_safe_get(wl_var("wpa_psk")); - if ((strlen(v) >= 8) && (strlen(v) < 63)) { + if ((strlen(v) >= 8) && (strlen(v) <= 63)) { bcom_ioctl(skfd, ifname, WLC_SET_WPA_AUTH, &val, sizeof(val)); -- 2.30.2