be2net: fix be_vlan_add/rem_vid
authorAjit Khaparde <ajit.khaparde@emulex.com>
Fri, 30 Dec 2011 12:15:12 +0000 (12:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2011 22:19:21 +0000 (17:19 -0500)
commit80817cbf5ac13da76f3ee2b9259f26c09b385e84
tree43d9a1de7211ac7c7c90e75e3a394eb78b395151
parent50612537e9ab29693122fab20fc1eed235054ffe
be2net: fix be_vlan_add/rem_vid

1) fix be_vlan_add/rem_vid to return proper status
2) perform appropriate housekeeping if firmware command succeeds.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c