realtek: Change LLTP register to LLDP
[openwrt/staging/pepe2k.git] / target / linux / realtek / files-5.15 / drivers / net / dsa / rtl83xx / rtl839x.c
index ff80a9074edf1eb714b941542e67296c272173e4..5889cea6d667365d84daa254497804588b64e9cf 100644 (file)
@@ -1814,9 +1814,9 @@ void rtl839x_set_receive_management_action(int port, rma_ctrl_t type, action_typ
                sw_w32_mask(3 << ((port & 0xf) << 1), (action & 0x3) << ((port & 0xf) << 1),
                            RTL839X_RMA_PTP_CTRL + ((port >> 4) << 2));
                break;
-       case LLTP:
+       case LLDP:
                sw_w32_mask(3 << ((port & 0xf) << 1), (action & 0x3) << ((port & 0xf) << 1),
-                           RTL839X_RMA_LLTP_CTRL + ((port >> 4) << 2));
+                           RTL839X_RMA_LLDP_CTRL + ((port >> 4) << 2));
                break;
        default:
                break;