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