diff -r 77618ad58aba -r 60f08993dad0 securitysettings/cpwlansecurityuiplugins/cpwepui/src/wepkeyvalidator.cpp --- a/securitysettings/cpwlansecurityuiplugins/cpwepui/src/wepkeyvalidator.cpp Fri Jun 11 16:24:23 2010 +0100 +++ b/securitysettings/cpwlansecurityuiplugins/cpwepui/src/wepkeyvalidator.cpp Thu Jul 22 16:34:37 2010 +0100 @@ -2,7 +2,7 @@ * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available - * under the terms of the License "Eclipse Public License v1.0" + * under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-v10.html". * @@ -17,7 +17,7 @@ */ /* - * %version: 1 % + * %version: tr1cfwln#5 % */ #include @@ -76,11 +76,7 @@ else if (length == WepAscii64BitMaxLength || length == WepAscii128BitMaxLength) { ret = isAscii(key); } - - else if (length == WepKeyEmptyString) { - ret = KeyStatusOk ; - } - + else { ret = KeyStatusWepInvalidLength; }