mlxsw: fix SWITCHDEV_OBJ_ID_PORT_MDB
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Jan 2016 12:28:23 +0000 (15:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
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 <dan.carpenter@oracle.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c