realtek: Change LLTP register to LLDP
[openwrt/staging/pepe2k.git] / target / linux / realtek / files-5.15 / drivers / net / dsa / rtl83xx / rtl931x.c
index 07ac25c743f9d2a0a7679afe2d5f3cbb632f69b3..25ad4eaa11da6b33530c173e393e5402e1267ac2 100644 (file)
@@ -516,8 +516,8 @@ void rtl931x_set_receive_management_action(int port, rma_ctrl_t type, action_typ
        case PTP_ETH2:
                sw_w32_mask(3, value, RTL931X_RMA_PTP_CTRL + (port << 2));
        break;
-       case LLTP:
-               sw_w32_mask(7 << ((port % 10) * 3), value << ((port % 10) * 3), RTL931X_RMA_LLTP_CTRL + ((port / 10) << 2));
+       case LLDP:
+               sw_w32_mask(7 << ((port % 10) * 3), value << ((port % 10) * 3), RTL931X_RMA_LLDP_CTRL + ((port / 10) << 2));
        break;
        case EAPOL:
                sw_w32_mask(7 << ((port % 10) * 3), value << ((port % 10) * 3), RTL931X_RMA_EAPOL_CTRL + ((port / 10) << 2));