securitysettings/cpwlansecurityuiplugins/cpwepui/src/wepkeyvalidator.cpp
changeset 33 938269283a16
parent 22 093cf0757204
child 34 ad1f037f1ac2
equal deleted inserted replaced
22:093cf0757204 33:938269283a16
    74     }
    74     }
    75     // ASCII
    75     // ASCII
    76     else if (length == WepAscii64BitMaxLength || length == WepAscii128BitMaxLength) {
    76     else if (length == WepAscii64BitMaxLength || length == WepAscii128BitMaxLength) {
    77         ret = isAscii(key);
    77         ret = isAscii(key);
    78     }
    78     }
    79     
    79 
    80     else if (length == WepKeyEmptyString) {
       
    81        ret =  KeyStatusOk ;  
       
    82     }
       
    83     
       
    84     else {
    80     else {
    85         ret = KeyStatusWepInvalidLength;
    81         ret = KeyStatusWepInvalidLength;
    86     }
    82     }
    87 
    83 
    88     return ret;
    84     return ret;