Skip to content

Commit

Permalink
RDK-49931 - Refactor LNF Thunder Plugin to use NetworkManager Thunder…
Browse files Browse the repository at this point in the history
… Library

Reason for change: Initial check for refactoring LNF Thunder Plugin to use
NetworkManager Thunder Library
Test Procedure: Run curl command to check the functionality of lost and found
Risks: Low
Priority: P1
Signed-off-by: Gururaaja ESR <[email protected]>
  • Loading branch information
Gururaaja E S R authored and Gururaaja E S R committed Jul 1, 2024
1 parent 3660398 commit e9d8c71
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions NetworkManager/NetworkManagerRDKProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,14 @@ const string CIDR_PREFIXES[CIDR_NETMASK_IP_LEN] = {
ssid.m_ssid.copy(param.data.connect.ssid, sizeof(param.data.connect.ssid) - 1);
ssid.m_passphrase.copy(param.data.connect.passphrase, sizeof(param.data.connect.passphrase) - 1);
param.data.connect.security_mode = (SsidSecurity)ssid.m_securityMode;
if(!ssid.m_identity.empty())
ssid.m_identity.copy(param.data.connect.eapIdentity, sizeof(param.data.connect.eapIdentity) - 1);
if(!ssid.m_caCert.empty())
ssid.m_caCert.copy(param.data.connect.carootcert, sizeof(param.data.connect.carootcert) - 1);
if(!ssid.m_clientCert.empty())
ssid.m_clientCert.copy(param.data.connect.clientcert, sizeof(param.data.connect.clientcert) - 1);
if(!ssid.m_privateKey.empty())
ssid.m_privateKey.copy(param.data.connect.privatekey, sizeof(param.data.connect.privatekey) - 1);
}

retVal = IARM_Bus_Call( IARM_BUS_NM_SRV_MGR_NAME, IARM_BUS_WIFI_MGR_API_connect, (void *)&param, sizeof(param));
Expand Down

0 comments on commit e9d8c71

Please sign in to comment.