realtek: Change LLTP register to LLDP
[openwrt/openwrt.git] / target / linux / realtek / files-5.15 / drivers / net / dsa / rtl83xx / rtl838x.c
index adff404fddd43027f102f68751e01ee1a338e4c2..d93087f5b1aa6cb6b17e98e7747602841debccb4 100644 (file)
@@ -1678,9 +1678,9 @@ void rtl838x_set_receive_management_action(int port, rma_ctrl_t type, action_typ
                sw_w32_mask(3 << ((port & 0xf) << 1), (action & 0x3) << ((port & 0xf) << 1),
                            RTL838X_RMA_PTP_CTRL + ((port >> 4) << 2));
                break;
-       case LLTP:
+       case LLDP:
                sw_w32_mask(3 << ((port & 0xf) << 1), (action & 0x3) << ((port & 0xf) << 1),
-                           RTL838X_RMA_LLTP_CTRL + ((port >> 4) << 2));
+                           RTL838X_RMA_LLDP_CTRL + ((port >> 4) << 2));
                break;
        default:
                break;