diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2012-03-12 08:53:09 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-13 00:10:49 (GMT) |
commit | 33ac338cf97f5e225c62ebcb3ff1a40bf32c88ad (patch) | |
tree | c90a4178b1aed0288326b76112cefdcc42b4727b /drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | |
parent | c121089d9769a404468749b31c52c4d284cb56be (diff) | |
download | linux-fsl-qoriq-33ac338cf97f5e225c62ebcb3ff1a40bf32c88ad.tar.xz |
bnx2x: set_one_mac_e1x uses raw's state as input
Previously, we used a hard-coded value as paramater, instead of using the
input's value. This is now remedied, as in other flows.
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c index 2b18ccd..f913cdd 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c @@ -864,7 +864,7 @@ static void bnx2x_set_one_mac_e1x(struct bnx2x *bp, /* Reset the ramrod data buffer */ memset(config, 0, sizeof(*config)); - bnx2x_vlan_mac_set_rdata_e1x(bp, o, BNX2X_FILTER_MAC_PENDING, + bnx2x_vlan_mac_set_rdata_e1x(bp, o, raw->state, cam_offset, add, elem->cmd_data.vlan_mac.u.mac.mac, 0, ETH_VLAN_FILTER_ANY_VLAN, config); |