Skip to content

Commit

Permalink
Merge pull request #5825 from apatel859/sprint/24Q4
Browse files Browse the repository at this point in the history
LLAMA-15793:  wpeframework xcast crash
  • Loading branch information
apatel859 authored Oct 29, 2024
2 parents 20a20ac + 2f7b829 commit c54344c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XCast/XCast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ void XCast::DeinitializeIARM()
}
void XCast::powerModeChange(const char *owner, IARM_EventId_t eventId, void *data, size_t len)
{
if (strcmp(owner, IARM_BUS_PWRMGR_NAME) == 0) {
if (XCast::m_xcastEnable && strcmp(owner, IARM_BUS_PWRMGR_NAME) == 0) {
if (eventId == IARM_BUS_PWRMGR_EVENT_MODECHANGED ) {
IARM_Bus_PWRMgr_EventData_t *param = (IARM_Bus_PWRMgr_EventData_t *)data;
LOGINFO("Event IARM_BUS_PWRMGR_EVENT_MODECHANGED: State Changed %d -- > %d\r",
Expand Down

0 comments on commit c54344c

Please sign in to comment.