rocker: fix rocker_world_port_obj_vlan_add()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 23 Feb 2016 09:37:52 +0000 (12:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Feb 2016 18:12:31 +0000 (13:12 -0500)
commita30a9ea6e21b495372aff549f3dfd63198bd1f45
tree5a2b6302b23b1dcbf1176163829ef501b1f9babe
parentb633353115e352d3c31c12d4c61978c810f05ea1
rocker: fix rocker_world_port_obj_vlan_add()

We were changing return values and accidentally made
rocker_world_port_obj_vlan_add() into a no-op.

Fixes: fccd84d44912 ('rocker: return -EOPNOTSUPP for undefined world ops')
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/rocker/rocker_main.c