Skip to content

Commit

Permalink
RDKBDEV-2883 :Fix for Device.DSL.Channel.%d.Enable is always set to f…
Browse files Browse the repository at this point in the history
…alse.

Reason for change:
Added logic to update the value of Enable from dslhal.

Test Procedure: Ensure DM Device.DSL.Channel.%d.Enable DM is in sync with value from dslhal.
Risks: None.

Signed-off-by: K Sanjay Nayak <[email protected]>
  • Loading branch information
sanjaynayakk committed Oct 29, 2024
1 parent a81e9eb commit 778732a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/TR-181/integration_src.shared/xdsl_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1782,6 +1782,9 @@ int xdsl_hal_dslGetChannelInfo(int channelNo, PDML_XDSL_CHANNEL pstChannelInfo)
pstChannelInfo->Status = XDSL_IF_STATUS_Error;
}
}
else if (strstr (resp_param.name, "Enable")) {
pstChannelInfo->Enable = atoi(resp_param.value);
}
else if (strstr (resp_param.name, "LastChange")) {
pstChannelInfo->LastChange = atoi(resp_param.value);
}
Expand Down

0 comments on commit 778732a

Please sign in to comment.