diff options
author | Russell King (Oracle) <[email protected]> | 2024-08-06 14:08:41 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-08 08:25:04 -0700 |
commit | 85ba108a529d99c82e814eaf782a9443acf5eaed (patch) | |
tree | 54cb0fa98e01bd141dab0337233a004c214e218f /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b928e7d19dfd8a336e13ec0d21e1d60dc285efd5 (diff) |
net: stmmac: dwmac4: fix PCS duplex mode decode
dwmac4 was decoding the duplex mode from the GMAC_PHYIF_CONTROL_STATUS
register incorrectly, using GMAC_PHYIF_CTRLSTATUS_LNKMOD_MASK (value 1)
rather than GMAC_PHYIF_CTRLSTATUS_LNKMOD (bit 16). Fix this.
Fixes: 70523e639bf8c ("drivers: net: stmmac: reworking the PCS code.")
Reviewed-by: Andrew Halaney <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions