summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b142652)
raw | patch | inline | side by side (parent: b142652)
author | Hongmei Gou <a0271529@ti.com> | |
Fri, 25 May 2018 14:50:23 +0000 (10:50 -0400) | ||
committer | Hongmei Gou <a0271529@ti.com> | |
Fri, 25 May 2018 14:50:23 +0000 (10:50 -0400) |
Signed-off-by: Hongmei Gou <a0271529@ti.com>
src/icss_emacLoc.c | patch | blob | history |
diff --git a/src/icss_emacLoc.c b/src/icss_emacLoc.c
index 806f93dbc5471a39b6ce779198e1ace84c5d2e39..7bf4445427662f11d9206f2cd6f021319ac3eca9 100644 (file)
--- a/src/icss_emacLoc.c
+++ b/src/icss_emacLoc.c
@@ -538,12 +538,12 @@ void ICSS_EmacInitLinkState(ICSS_EmacHandle icssEmacHandle, uint8_t interfaceId,
*(portStatusPtr) = ICSS_EMAC_PORT_LINK_MASK;
((ICSS_EmacObject*)icssEmacHandle->object)->linkStatus[interfaceId] = 1U;
- ((ICSS_EmacObject*)icssEmacHandle->object)->prevlinkStatus[interfaceId] =1U;
+ ((ICSS_EmacObject*)icssEmacHandle->object)->prevlinkStatus[interfaceId] =0U;
}
else
{
((ICSS_EmacObject*)icssEmacHandle->object)->linkStatus[interfaceId] =0U;
- ((ICSS_EmacObject*)icssEmacHandle->object)->linkStatus[interfaceId] =0U;
+ ((ICSS_EmacObject*)icssEmacHandle->object)->prevlinkStatus[interfaceId] =0U;
}
}