diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2020-06-23 11:05:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-23 14:38:05 -0700 |
commit | 2464bc7c2897b7549146a743045089d3aea7b85b (patch) | |
tree | b6aa045cdd1f7c5fd325ba1d054330040fe96f90 /include | |
parent | 26ac10be3c80a26d03c950b7387c4b9566c260b6 (diff) | |
download | linux-stable-2464bc7c2897b7549146a743045089d3aea7b85b.tar.gz linux-stable-2464bc7c2897b7549146a743045089d3aea7b85b.tar.bz2 linux-stable-2464bc7c2897b7549146a743045089d3aea7b85b.zip |
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: 4714d13791f831 ("bridge: uapi: mrp: Add mrp attributes.")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/mrp_bridge.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/uapi/linux/mrp_bridge.h b/include/uapi/linux/mrp_bridge.h index 84f15f48a7cb..bee366540212 100644 --- a/include/uapi/linux/mrp_bridge.h +++ b/include/uapi/linux/mrp_bridge.h @@ -36,7 +36,6 @@ enum br_mrp_port_state_type { enum br_mrp_port_role_type { BR_MRP_PORT_ROLE_PRIMARY, BR_MRP_PORT_ROLE_SECONDARY, - BR_MRP_PORT_ROLE_NONE, }; enum br_mrp_tlv_header_type { |