mlxsw: fix SWITCHDEV_OBJ_ID_PORT_MDB
authorDan Carpenter <[email protected]>
Wed, 13 Jan 2016 12:28:23 +0000 (15:28 +0300)
committerDavid S. Miller <[email protected]>
Wed, 13 Jan 2016 15:31:21 +0000 (10:31 -0500)
commit00ae40e71d85ea3fed1b906951ffd80e0321a96d
tree6fe3756fa324fcf00352cc1b9176b1684855daae
parentb8e429a2feac623a34e21099a4a69de29b6d873e
mlxsw: fix SWITCHDEV_OBJ_ID_PORT_MDB

There is a missing break statement so we always return -EOPNOTSUPP.

Fixes: 3a49b4fde2a1 ('mlxsw: Adding layer 2 multicast support')
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c