|
1 /* |
|
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: EAP-session inside EAP-server. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: % |
|
20 */ |
|
21 |
|
22 |
|
23 #define __REFERENCE_CAPABILITY_NAMES__ |
|
24 #define __INCLUDE_CAPABILITY_NAMES__ |
|
25 |
|
26 #include "EapSession.h" |
|
27 #include "EapServerStrings.h" |
|
28 #include "EapServer.h" |
|
29 #include "EapServerProcessHandler.h" |
|
30 #include "EapServerClientDef.h" |
|
31 #include "abs_eap_am_tools.h" |
|
32 #include "EapTraceSymbian.h" |
|
33 |
|
34 #include "eap_automatic_variable.h" |
|
35 |
|
36 /* |
|
37 CEapSession |
|
38 */ |
|
39 |
|
40 const TInt KMaxMessageLength = 1000000; |
|
41 |
|
42 // ----------------------------------------------------------------------------------------- |
|
43 |
|
44 // construct/destruct |
|
45 |
|
46 CEapSession::CEapSession() |
|
47 : iReceiveActive(EFalse) |
|
48 , iEapProcessHandler(0) |
|
49 , iTools(0) |
|
50 { |
|
51 EAP_TRACE_DEBUG_SYMBIAN((_L("CEapSession::CEapSession(): this=0x%08x"), |
|
52 this)); |
|
53 |
|
54 EAP_TRACE_RETURN_STRING_SYMBIAN(_L("returns: CEapSession::CEapSession()")); |
|
55 |
|
56 } |
|
57 |
|
58 // ----------------------------------------------------------------------------------------- |
|
59 |
|
60 void CEapSession::ConstructL(CEapServer& aServer, abs_eap_am_tools_c * const tools) |
|
61 { |
|
62 EAP_TRACE_DEBUG( |
|
63 tools, |
|
64 TRACE_FLAGS_DEFAULT, |
|
65 (EAPL("CEapSession::ConstructL(): this=0x%08x\n"), |
|
66 this)); |
|
67 EAP_TRACE_RETURN_STRING(tools, "returns: CEapSession::ConstructL()"); |
|
68 |
|
69 iTools = tools; |
|
70 |
|
71 iEapProcessHandler = CEapServerProcessHandler::NewL(); |
|
72 iEapProcessHandler->ConstructL(this, iTools); |
|
73 CActiveScheduler::Add(iEapProcessHandler); |
|
74 } |
|
75 |
|
76 // ----------------------------------------------------------------------------------------- |
|
77 |
|
78 CEapSession::~CEapSession() |
|
79 { |
|
80 EAP_TRACE_DEBUG( |
|
81 iTools, |
|
82 TRACE_FLAGS_DEFAULT, |
|
83 (EAPL("CEapSession::~CEapSession(): this=0x%08x\n"), |
|
84 this)); |
|
85 EAP_TRACE_RETURN_STRING(iTools, "returns: CEapSession::~CEapSession()"); |
|
86 |
|
87 // cancel any receive |
|
88 CancelReceive(); |
|
89 if (iEapProcessHandler != 0) |
|
90 { |
|
91 delete iEapProcessHandler; |
|
92 iEapProcessHandler = 0; |
|
93 } |
|
94 // decrement session count, so server may terminate if no longer needed |
|
95 Server()->DecrementSessions(); |
|
96 } |
|
97 |
|
98 // ----------------------------------------------------------------------------------------- |
|
99 |
|
100 CEapServer* CEapSession::Server() const |
|
101 /** |
|
102 Return the EAP-server. |
|
103 |
|
104 This deliberately hides the ugly casts around the code. |
|
105 */ |
|
106 { |
|
107 EAP_TRACE_DEBUG( |
|
108 iTools, |
|
109 TRACE_FLAGS_DEFAULT, |
|
110 (EAPL("CEapSession::Server(): this=0x%08x\n"), |
|
111 this)); |
|
112 EAP_TRACE_RETURN_STRING(iTools, "returns: CEapSession::Server()"); |
|
113 |
|
114 return const_cast<CEapServer*>(static_cast<const CEapServer*>(CSession2::Server())); |
|
115 } |
|
116 |
|
117 // ----------------------------------------------------------------------------------------- |
|
118 |
|
119 void CEapSession::CheckCapabilityL( |
|
120 const RMessage2& aMessage, |
|
121 const TBool aMustHaveCapabilityWhenTrue, |
|
122 const TCapability aCapability, |
|
123 const char *aDiagnostic) |
|
124 { |
|
125 EAP_TRACE_DEBUG( |
|
126 iTools, |
|
127 TRACE_FLAGS_DEFAULT, |
|
128 (EAPL("CEapSession::CheckCapabilityL(): this=0x%08x: aMessage.Function()=%d=%s\n"), |
|
129 this, |
|
130 aMessage.Function(), |
|
131 EapServerStrings::GetEapRequestsString(aMessage.Function()))); |
|
132 |
|
133 EAP_TRACE_RETURN_STRING(iTools, "returns: CEapSession::CheckCapabilityL()"); |
|
134 |
|
135 if (aMustHaveCapabilityWhenTrue != aMessage.HasCapability(aCapability, aDiagnostic)) |
|
136 { |
|
137 // Capability check failed. |
|
138 EAP_TRACE_DEBUG( |
|
139 iTools, |
|
140 TRACE_FLAGS_DEFAULT, |
|
141 (EAPL("ERROR: CEapSession::CheckCapability(): aMessage.Function()=%d=%s, failed capability check: %d=%s, %s\n"), |
|
142 aMessage.Function(), |
|
143 EapServerStrings::GetEapRequestsString(aMessage.Function()), |
|
144 aCapability, |
|
145 CapabilityNames[aCapability], |
|
146 aDiagnostic)); |
|
147 Server()->PanicClient(EBadRequest); |
|
148 User::Leave(EBadRequest); |
|
149 } |
|
150 else |
|
151 { |
|
152 EAP_TRACE_DEBUG( |
|
153 iTools, |
|
154 TRACE_FLAGS_DEFAULT, |
|
155 (EAPL("CEapSession::CheckCapability(): aMessage.Function()=%d=%s, OK capability check: %d=%s\n"), |
|
156 aMessage.Function(), |
|
157 EapServerStrings::GetEapRequestsString(aMessage.Function()), |
|
158 aCapability, |
|
159 CapabilityNames[aCapability])); |
|
160 } |
|
161 } |
|
162 |
|
163 // ----------------------------------------------------------------------------------------- |
|
164 |
|
165 // service dispatcher - from CSharableSession |
|
166 |
|
167 void CEapSession::ServiceL(const RMessage2& aMessage) |
|
168 { |
|
169 |
|
170 EAP_TRACE_DEBUG( |
|
171 iTools, |
|
172 TRACE_FLAGS_DEFAULT, |
|
173 (EAPL("-start--------------------------------------------------------------------\n"))); |
|
174 |
|
175 EAP_TRACE_DEBUG( |
|
176 iTools, |
|
177 TRACE_FLAGS_DEFAULT, |
|
178 (EAPL("CEapSession::ServiceL(): this=0x%08x: starts, aMessage.Function()=%d=%s\n"), |
|
179 this, |
|
180 aMessage.Function(), |
|
181 EapServerStrings::GetEapRequestsString(aMessage.Function()))); |
|
182 |
|
183 EAP_TRACE_RETURN_STRING(iTools, "returns: CEapSession::ServiceL()"); |
|
184 |
|
185 |
|
186 { |
|
187 CheckCapabilityL( |
|
188 aMessage, |
|
189 ETrue, |
|
190 ECapabilityNetworkControl, |
|
191 "EAP-SERVER: Missing ECapabilityNetworkControl"); |
|
192 |
|
193 CheckCapabilityL( |
|
194 aMessage, |
|
195 ETrue, |
|
196 ECapabilityNetworkServices, |
|
197 "EAP-SERVER: Missing ECapabilityNetworkServices"); |
|
198 |
|
199 CheckCapabilityL( |
|
200 aMessage, |
|
201 ETrue, |
|
202 ECapabilityReadDeviceData, |
|
203 "EAP-SERVER: Missing ECapabilityReadDeviceData"); |
|
204 |
|
205 CheckCapabilityL( |
|
206 aMessage, |
|
207 ETrue, |
|
208 ECapabilityReadUserData, |
|
209 "EAP-SERVER: Missing ECapabilityReadUserData"); |
|
210 } |
|
211 |
|
212 |
|
213 if (aMessage.Function() == EEapIfCancelReceive) |
|
214 { |
|
215 EAP_TRACE_DEBUG( |
|
216 iTools, |
|
217 TRACE_FLAGS_DEFAULT, |
|
218 (EAPL("CEapSession::ServiceL(): aMessage.Function()=%d=%s, calls CancelReceive()\n"), |
|
219 aMessage.Function(), |
|
220 EapServerStrings::GetEapRequestsString(aMessage.Function()))); |
|
221 CancelReceive(); |
|
222 return; |
|
223 } |
|
224 |
|
225 // length of passed descriptor (1st parameter passed from client) |
|
226 TInt deslen = aMessage.GetDesLength(0); |
|
227 |
|
228 if (deslen > KMaxMessageLength) |
|
229 { |
|
230 Server()->PanicClient(EBadRequest); |
|
231 return; |
|
232 } |
|
233 |
|
234 // Passed data will be saved in this descriptor. |
|
235 RBuf8 buffer; |
|
236 |
|
237 // Max length set to the value of "deslen", but current length is zero |
|
238 buffer.CreateL(deslen); |
|
239 |
|
240 // Do the right cleanup if anything subsequently goes wrong |
|
241 buffer.CleanupClosePushL(); |
|
242 |
|
243 // Copy the client's descriptor data into our buffer. |
|
244 aMessage.ReadL(0,buffer,0); |
|
245 |
|
246 EAP_TRACE_DEBUG( |
|
247 iTools, |
|
248 TRACE_FLAGS_DEFAULT, |
|
249 (EAPL("CEapSession::ServiceL(): calls buffer.Length()\n"))); |
|
250 |
|
251 TUint aLength = buffer.Length(); |
|
252 |
|
253 EAP_TRACE_DEBUG( |
|
254 iTools, |
|
255 TRACE_FLAGS_DEFAULT, |
|
256 (EAPL("CEapSession::ServiceL(): calls buffer.Ptr(): aLength=%d\n"), |
|
257 aLength)); |
|
258 |
|
259 const void * aData = buffer.Ptr(); |
|
260 |
|
261 EAP_TRACE_DEBUG( |
|
262 iTools, |
|
263 TRACE_FLAGS_DEFAULT, |
|
264 (EAPL("CEapSession::ServiceL(): aData=0x%08x, aLength=%d\n"), |
|
265 aData, |
|
266 aLength)); |
|
267 |
|
268 EAP_TRACE_DATA_DEBUG( |
|
269 iTools, |
|
270 TRACE_FLAGS_DEFAULT, |
|
271 (EAPL("CEapSession::ServiceL()"), |
|
272 aData, |
|
273 aLength)); |
|
274 |
|
275 EAP_TRACE_DEBUG( |
|
276 iTools, |
|
277 TRACE_FLAGS_DEFAULT, |
|
278 (EAPL("CEapSession::ServiceL(): switch aMessage.Function()=%d=%s, iEapProcessHandler=0x%08x\n"), |
|
279 aMessage.Function(), |
|
280 EapServerStrings::GetEapRequestsString(aMessage.Function()), |
|
281 iEapProcessHandler)); |
|
282 |
|
283 |
|
284 switch (aMessage.Function()) |
|
285 { |
|
286 case EEapCoreIfNew: |
|
287 EAP_TRACE_DEBUG( |
|
288 iTools, |
|
289 TRACE_FLAGS_DEFAULT, |
|
290 (EAPL("CEapSession::ServiceL(): EEapCoreIfNew\n"))); |
|
291 ReceiveAll(); |
|
292 iEapProcessHandler->SaveMessage(EEapCoreIfNew, aData, aLength); |
|
293 aMessage.Complete(KErrNone); |
|
294 break; |
|
295 case EEapPluginNew: |
|
296 EAP_TRACE_DEBUG( |
|
297 iTools, |
|
298 TRACE_FLAGS_DEFAULT, |
|
299 (EAPL("CEapSession::ServiceL(): EEapPluginNew\n"))); |
|
300 iEapProcessHandler->SaveMessage(EEapPluginNew, aData, aLength); |
|
301 aMessage.Complete(KErrNone); |
|
302 break; |
|
303 case EEapSettingsNew: |
|
304 EAP_TRACE_DEBUG( |
|
305 iTools, |
|
306 TRACE_FLAGS_DEFAULT, |
|
307 (EAPL("CEapSession::ServiceL(): EEapSettingsNew\n"))); |
|
308 iEapProcessHandler->SaveMessage(EEapSettingsNew, aData, aLength); |
|
309 aMessage.Complete(KErrNone); |
|
310 break; |
|
311 case EEapPacStoreNew: |
|
312 EAP_TRACE_DEBUG( |
|
313 iTools, |
|
314 TRACE_FLAGS_DEFAULT, |
|
315 (EAPL("CEapSession::ServiceL(): EEapPacStoreNew\n"))); |
|
316 iEapProcessHandler->SaveMessage(EEapPacStoreNew, aData, aLength); |
|
317 aMessage.Complete(KErrNone); |
|
318 break; |
|
319 case EWapiCoreIfNew: |
|
320 EAP_TRACE_DEBUG( |
|
321 iTools, |
|
322 TRACE_FLAGS_DEFAULT, |
|
323 (EAPL("CEapSession::ServiceL(): EWapiCoreIfNew\n"))); |
|
324 ReceiveAll(); |
|
325 iEapProcessHandler->SaveMessage(EWapiCoreIfNew, aData, aLength); |
|
326 aMessage.Complete(KErrNone); |
|
327 break; |
|
328 case EWapiSettingsNew: |
|
329 EAP_TRACE_DEBUG( |
|
330 iTools, |
|
331 TRACE_FLAGS_DEFAULT, |
|
332 (EAPL("CEapSession::ServiceL(): EWapiSettingsNew\n"))); |
|
333 ReceiveAll(); |
|
334 iEapProcessHandler->SaveMessage(EWapiSettingsNew, aData, aLength); |
|
335 aMessage.Complete(KErrNone); |
|
336 break; |
|
337 case EEapCoreProcessData: |
|
338 EAP_TRACE_DEBUG( |
|
339 iTools, |
|
340 TRACE_FLAGS_DEFAULT, |
|
341 (EAPL("CEapSession::ServiceL(): EEapCoreProcessData\n"))); |
|
342 // Read message |
|
343 iEapProcessHandler->SaveMessage(EEapCoreProcessData, aData, aLength); |
|
344 aMessage.Complete(KErrNone); |
|
345 break; |
|
346 case EEapPluginProcessData: |
|
347 EAP_TRACE_DEBUG( |
|
348 iTools, |
|
349 TRACE_FLAGS_DEFAULT, |
|
350 (EAPL("CEapSession::ServiceL(): EEapPluginProcessData\n"))); |
|
351 iEapProcessHandler->SaveMessage(EEapPluginProcessData, aData, aLength); |
|
352 aMessage.Complete(KErrNone); |
|
353 break; |
|
354 case EEapSettingsProcessData: |
|
355 EAP_TRACE_DEBUG( |
|
356 iTools, |
|
357 TRACE_FLAGS_DEFAULT, |
|
358 (EAPL("CEapSession::ServiceL(): EEapSettingsProcessData\n"))); |
|
359 iEapProcessHandler->SaveMessage(EEapSettingsProcessData, aData, aLength); |
|
360 aMessage.Complete(KErrNone); |
|
361 break; |
|
362 case EEapPacStoreProcessData: |
|
363 EAP_TRACE_DEBUG( |
|
364 iTools, |
|
365 TRACE_FLAGS_DEFAULT, |
|
366 (EAPL("CEapSession::ServiceL(): EEapPacStoreProcessData\n"))); |
|
367 iEapProcessHandler->SaveMessage(EEapPacStoreProcessData, aData, aLength); |
|
368 aMessage.Complete(KErrNone); |
|
369 break; |
|
370 case EWapiCoreProcessData: |
|
371 EAP_TRACE_DEBUG( |
|
372 iTools, |
|
373 TRACE_FLAGS_DEFAULT, |
|
374 (EAPL("CEapSession::ServiceL(): EWapiCoreProcessData\n"))); |
|
375 iEapProcessHandler->SaveMessage(EWapiCoreProcessData, aData, aLength); |
|
376 aMessage.Complete(KErrNone); |
|
377 break; |
|
378 case EWapiSettingsProcessData: |
|
379 EAP_TRACE_DEBUG( |
|
380 iTools, |
|
381 TRACE_FLAGS_DEFAULT, |
|
382 (EAPL("CEapSession::ServiceL(): EWapiSettingsProcessData\n"))); |
|
383 iEapProcessHandler->SaveMessage(EWapiSettingsProcessData, aData, aLength); |
|
384 aMessage.Complete(KErrNone); |
|
385 break; |
|
386 case EEapIfReqReceive: // TAny& aBuffer - async |
|
387 EAP_TRACE_DEBUG( |
|
388 iTools, |
|
389 TRACE_FLAGS_DEFAULT, |
|
390 (EAPL("CEapSession::ServiceL(): EEapIfReqReceive\n"))); |
|
391 __ASSERT_DEBUG(!iReceiveActive, Server()->PanicClient(EReceiveReceiveAlreadyActive)); |
|
392 // remember receive request |
|
393 iReceiveMessage = aMessage; |
|
394 iReceiveActive=ETrue; |
|
395 iEapProcessHandler->Activate(); |
|
396 break; |
|
397 case EEapIfCancelReceive: |
|
398 EAP_TRACE_DEBUG( |
|
399 iTools, |
|
400 TRACE_FLAGS_DEFAULT, |
|
401 (EAPL("CEapSession::ServiceL(): EEapIfCancelReceive\n"))); |
|
402 CancelReceive(); |
|
403 break; |
|
404 default: |
|
405 EAP_TRACE_DEBUG( |
|
406 iTools, |
|
407 TRACE_FLAGS_DEFAULT, |
|
408 (EAPL("ERROR: CEapSession::ServiceL(): unknown aMessage.Function()=%d=%s, calls Server()->PanicClient()\n"), |
|
409 aMessage.Function(), |
|
410 EapServerStrings::GetEapRequestsString(aMessage.Function()))); |
|
411 |
|
412 Server()->PanicClient(EBadRequest); |
|
413 }; |
|
414 |
|
415 CleanupStack::PopAndDestroy(&buffer); |
|
416 |
|
417 EAP_TRACE_DEBUG( |
|
418 iTools, |
|
419 TRACE_FLAGS_DEFAULT, |
|
420 (EAPL("CEapSession::ServiceL(): ends aMessage.Function()=%d=%s\n"), |
|
421 aMessage.Function(), |
|
422 EapServerStrings::GetEapRequestsString(aMessage.Function()))); |
|
423 |
|
424 EAP_TRACE_DEBUG( |
|
425 iTools, |
|
426 TRACE_FLAGS_DEFAULT, |
|
427 (EAPL("-end----------------------------------------------------------------------\n"))); |
|
428 } |
|
429 |
|
430 // ----------------------------------------------------------------------------------------- |
|
431 |
|
432 void CEapSession::ReceiveAll() |
|
433 { |
|
434 EAP_TRACE_DEBUG( |
|
435 iTools, |
|
436 TRACE_FLAGS_DEFAULT, |
|
437 (EAPL("CEapSession::ReceiveAll(): this=0x%08x\n"), |
|
438 this)); |
|
439 EAP_TRACE_RETURN_STRING(iTools, "returns: CEapSession::ReceiveAll()"); |
|
440 |
|
441 } |
|
442 |
|
443 // ----------------------------------------------------------------------------------------- |
|
444 |
|
445 void CEapSession::Receive(RMessage2& aBuffer) |
|
446 { |
|
447 EAP_TRACE_DEBUG( |
|
448 iTools, |
|
449 TRACE_FLAGS_DEFAULT, |
|
450 (EAPL("CEapSession::Receive(): this=0x%08x\n"), |
|
451 this)); |
|
452 EAP_TRACE_RETURN_STRING(iTools, "returns: CEapSession::Receive()"); |
|
453 |
|
454 __ASSERT_DEBUG(!iReceiveActive,Server()->PanicClient(EReceiveReceiveAlreadyActive)); |
|
455 |
|
456 // remember receive request |
|
457 iReceiveMessage = aBuffer; |
|
458 iReceiveActive=ETrue; |
|
459 } |
|
460 |
|
461 // ----------------------------------------------------------------------------------------- |
|
462 |
|
463 void CEapSession::CancelReceive() |
|
464 { |
|
465 EAP_TRACE_DEBUG( |
|
466 iTools, |
|
467 TRACE_FLAGS_DEFAULT, |
|
468 (EAPL("CEapSession::CancelReceive(): this=0x%08x\n"), |
|
469 this)); |
|
470 EAP_TRACE_RETURN_STRING(iTools, "returns: CEapSession::CancelReceive()"); |
|
471 |
|
472 if (!iReceiveActive) |
|
473 { |
|
474 EAP_TRACE_DEBUG( |
|
475 iTools, |
|
476 TRACE_FLAGS_DEFAULT, |
|
477 (EAPL("CEapSession::CancelReceive(): No receive active\n"))); |
|
478 return; |
|
479 } |
|
480 |
|
481 iReceiveMessage.Complete(KErrCancel); |
|
482 iReceiveActive=EFalse; |
|
483 } |
|
484 |
|
485 // ----------------------------------------------------------------------------------------- |
|
486 |
|
487 TBool CEapSession::GetReceiveActive() |
|
488 { |
|
489 EAP_TRACE_DEBUG( |
|
490 iTools, |
|
491 TRACE_FLAGS_DEFAULT, |
|
492 (EAPL("CEapSession::GetReceiveActive(): this=0x%08x: iReceiveActive=%d\n"), |
|
493 this, |
|
494 iReceiveActive)); |
|
495 EAP_TRACE_RETURN_STRING(iTools, "returns: CEapSession::GetReceiveActive()"); |
|
496 |
|
497 return iReceiveActive; |
|
498 } |
|
499 |
|
500 // ----------------------------------------------------------------------------------------- |
|
501 |
|
502 eap_status_e CEapSession::SendData(EapMessageBuffer * const message) |
|
503 { |
|
504 EAP_TRACE_DEBUG( |
|
505 iTools, |
|
506 TRACE_FLAGS_DEFAULT, |
|
507 (EAPL("CEapSession::SendData(): this=0x%08x: message->GetRequestType()=%d=%s, message->GetData()->Length()=%d\n"), |
|
508 this, |
|
509 message->GetRequestType(), |
|
510 EapServerStrings::GetEapRequestsString(message->GetRequestType()), |
|
511 message->GetData()->Length())); |
|
512 EAP_TRACE_RETURN_STRING(iTools, "returns: CEapSession::SendData()"); |
|
513 |
|
514 if (!iReceiveActive) |
|
515 { |
|
516 EAP_TRACE_DEBUG( |
|
517 iTools, |
|
518 TRACE_FLAGS_DEFAULT, |
|
519 (EAPL("CEapSession::SendData(): No receive active\n"))); |
|
520 return EAP_STATUS_RETURN(iTools, iTools->convert_am_error_to_eapol_error(KErrCancel)); |
|
521 } |
|
522 |
|
523 TInt error(KErrNone); |
|
524 |
|
525 EAP_TRACE_DEBUG( |
|
526 iTools, |
|
527 TRACE_FLAGS_DEFAULT, |
|
528 (EAPL("CEapSession::SendData(): calls iReceiveMessage.Write()\n"))); |
|
529 |
|
530 error = iReceiveMessage.Write(0, message->GetData()->Des()); |
|
531 |
|
532 EAP_TRACE_DEBUG( |
|
533 iTools, |
|
534 TRACE_FLAGS_DEFAULT, |
|
535 (EAPL("CEapSession::SendData(): calls iReceiveMessage.Complete(): Write() error=%d\n"), |
|
536 error)); |
|
537 |
|
538 iReceiveMessage.Complete(KErrNone); |
|
539 iReceiveActive=EFalse; |
|
540 |
|
541 return EAP_STATUS_RETURN(iTools, iTools->convert_am_error_to_eapol_error(error)); |
|
542 } |
|
543 |
|
544 // ----------------------------------------------------------------------------------------- |
|
545 // end |