OSDN Git Service

bnx2x: Fix functionality of configuring vlan list
authorAriel Elior <ariele@broadcom.com>
Tue, 27 Aug 2013 22:13:02 +0000 (01:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Aug 2013 02:03:04 +0000 (22:03 -0400)
commit35a04aa35c2929f24c7f063f42b6d776ad848c24
tree3ad629e011eca6e161f0b824848e1716f40d2c77
parent34d5626afc39c43d63ec7781b648091e92fae45a
bnx2x: Fix functionality of configuring vlan list

The check on return code of bnx2x_vfop_config_vlan0() would lead to error
handling flow as the return value indicating an existing pending ramrod would
be erroneously considered as an error.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c