539 // --------------------------------------------------------- |
539 // --------------------------------------------------------- |
540 // --------------------------------------------------------- |
540 // --------------------------------------------------------- |
541 // |
541 // |
542 EXPORT_C void RWLMServer::RunProtectedSetup( |
542 EXPORT_C void RWLMServer::RunProtectedSetup( |
543 TRequestStatus& aStatus, |
543 TRequestStatus& aStatus, |
544 TUint32 aId, |
544 const TWlanSsid& aSsid, |
|
545 const TWlanWpsPin& aWspPin, |
545 TDes8& aCredentials ) |
546 TDes8& aCredentials ) |
546 { |
547 { |
547 DEBUG( "RWLMServer::RunProtectedSetup(TRequestStatus)" ); |
548 DEBUG( "RWLMServer::RunProtectedSetup(TRequestStatus)" ); |
548 |
549 |
549 aStatus = KRequestPending; |
550 aStatus = KRequestPending; |
550 TIpcArgs params( aId, &aCredentials ); |
551 |
|
552 iWlanSsidPckg = aSsid; |
|
553 iWlanWpsPinPckg = aWspPin; |
|
554 |
|
555 TIpcArgs params( &iWlanSsidPckg, &iWlanWpsPinPckg, &aCredentials ); |
551 |
556 |
552 // Send the command |
557 // Send the command |
553 SendReceive( ERunProtectedSetup, params, aStatus ); |
558 SendReceive( ERunProtectedSetup, params, aStatus ); |
554 } |
559 } |
555 |
560 |