Commit 2464bc7c authored by Horatiu Vultur's avatar Horatiu Vultur Committed by David S. Miller

bridge: uapi: mrp: Fix MRP_PORT_ROLE

Currently the MRP_PORT_ROLE_NONE has the value 0x2 but this is in conflict
with the IEC 62439-2 standard. The standard defines the following port
roles: primary (0x0), secondary(0x1), interconnect(0x2).
Therefore remove the port role none.

Fixes: 4714d137 ("bridge: uapi: mrp: Add mrp attributes.")
Signed-off-by: default avatarHoratiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 26ac10be
...@@ -36,7 +36,6 @@ enum br_mrp_port_state_type { ...@@ -36,7 +36,6 @@ enum br_mrp_port_state_type {
enum br_mrp_port_role_type { enum br_mrp_port_role_type {
BR_MRP_PORT_ROLE_PRIMARY, BR_MRP_PORT_ROLE_PRIMARY,
BR_MRP_PORT_ROLE_SECONDARY, BR_MRP_PORT_ROLE_SECONDARY,
BR_MRP_PORT_ROLE_NONE,
}; };
enum br_mrp_tlv_header_type { enum br_mrp_tlv_header_type {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment