equal
deleted
inserted
replaced
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; |