diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2010-08-25 00:03:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-25 17:15:27 -0400 |
commit | e9a47700cb35bc84d4954f762a193b150722612e (patch) | |
tree | 4706a47822aa7c95a3344d3c8d62f6a6c8a6d7d4 /drivers/net/qlcnic/qlcnic_ctx.c | |
parent | e569aa78ba01f7f66e016a4d57310fd041524d17 (diff) |
qlcnic: eswitch config fixes
o remove validation before deleting vlan id
o Add missing 'break' while deleting vlan id.
Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_ctx.c')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_ctx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic_ctx.c b/drivers/net/qlcnic/qlcnic_ctx.c index 315705b22be2..bd4b06b2d86d 100644 --- a/drivers/net/qlcnic/qlcnic_ctx.c +++ b/drivers/net/qlcnic/qlcnic_ctx.c | |||
@@ -1160,6 +1160,7 @@ int qlcnic_config_switch_port(struct qlcnic_adapter *adapter, | |||
1160 | case QLCNIC_DEL_VLAN: | 1160 | case QLCNIC_DEL_VLAN: |
1161 | arg1 |= (BIT_3 | BIT_5); | 1161 | arg1 |= (BIT_3 | BIT_5); |
1162 | arg1 &= ~(0x0ffff << 16); | 1162 | arg1 &= ~(0x0ffff << 16); |
1163 | break; | ||
1163 | default: | 1164 | default: |
1164 | return err; | 1165 | return err; |
1165 | } | 1166 | } |