mlxsw: spectrum_switchdev: Fix mrouter flag update
authorNogah Frankel <nogahf@mellanox.com>
Tue, 22 Aug 2017 08:28:11 +0000 (10:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:22:54 +0000 (14:22 -0700)
commit4eb6a3bdb4629b610a39dd222a0170c72ef1c690
tree228617d0ca70d5ef6d19351b7a3fbd83e531ee8c
parent5160a153a00ef24dc3a47c215e21fbc197f60887
mlxsw: spectrum_switchdev: Fix mrouter flag update

Update the value of the mrouter flag in struct mlxsw_sp_bridge_port when
it is being changed.

Fixes: c57529e1d5d8 ("mlxsw: spectrum: Replace vPorts with Port-VLAN")
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c