diff options
author | Evan Lojewski <github@meklort.com> | 2020-04-05 10:42:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 10:42:06 -0600 |
commit | 10dc83f97c3e948d6617ce8447b2b19923303560 (patch) | |
tree | 25bf48ce194586db0dda60a287ac1c77ac2c2ccf /libs | |
parent | 5f7bfbfc916b94d4176382646ab939f21c7ecfec (diff) | |
download | bcm5719-ortega-10dc83f97c3e948d6617ce8447b2b19923303560.tar.gz bcm5719-ortega-10dc83f97c3e948d6617ce8447b2b19923303560.zip |
ncsi: Fix the Link Status printout for tx/rx statistics. (#74)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/NCSI/ncsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/NCSI/ncsi.c b/libs/NCSI/ncsi.c index 2805853..995a8dc 100644 --- a/libs/NCSI/ncsi.c +++ b/libs/NCSI/ncsi.c @@ -406,7 +406,7 @@ static void getLinkStatusHandler(NetworkFrame_t *frame) uint8_t phy = MII_getPhy(port->device); uint32_t rx = port->shm_channel->NcsiChannelCtrlstatAllRx.r32; - uint32_t tx = port->shm_channel->NcsiChannelCtrlstatAllRx.r32; + uint32_t tx = port->shm_channel->NcsiChannelCtrlstatAllTx.r32; APE_aquireLock(); stat.r16 = MII_readRegister(port->device, phy, (mii_reg_t)REG_MII_AUXILIARY_STATUS_SUMMARY); |