mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
WIFI-2001-CP-Radius-Auth
This patch will fix the radius MSCHAPv2 authentication failure problem Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
This commit is contained in:
committed by
Rick Sommerville
parent
315e953110
commit
42a87e7fa4
@@ -612,8 +612,12 @@ void vif_captive_portal_set(const struct schema_Wifi_VIF_Config *vconf, char *if
|
||||
else if (strcmp(opt, "radius_server_secret") == 0)
|
||||
blobmsg_add_string(&cap, "radius_server_secret", value);
|
||||
|
||||
else if (strcmp(opt, "radius_auth_type") == 0)
|
||||
blobmsg_add_string(&cap, "radius_auth_type", value);
|
||||
else if (strcmp(opt, "radius_auth_type") == 0) {
|
||||
if(!strcmp(value, "MSCHAPv2"))
|
||||
blobmsg_add_string(&cap, "radius_auth_type", "MSCHAPV2");
|
||||
else
|
||||
blobmsg_add_string(&cap, "radius_auth_type", value);
|
||||
}
|
||||
|
||||
else if (strcmp(opt, "session_timeout") == 0)
|
||||
blobmsg_add_string(&cap, "sessiontimeout", value);
|
||||
|
||||
Reference in New Issue
Block a user