Merge branch 'bridge-mrp-Update-MRP_PORT_ROLE'
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 21:38:05 +0000 (14:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 21:38:05 +0000 (14:38 -0700)
Horatiu Vultur says:

====================
bridge: mrp: Update MRP_PORT_ROLE

This patch series does the following:
- fixes the enum br_mrp_port_role_type. It removes the port role none(0x2)
  because this is in conflict with the standard. The standard defines the
  interconnect port role as value 0x2.
- adds checks regarding current defined port roles: primary(0x0) and
  secondary(0x1).

v2:
 - add the validation code when setting the port role.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge