bnx2x: use param's id instead of sp_obj's id
commit259afa1f725dc7ec1626835b9ac54827a46cdf80
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 12 Mar 2012 08:53:10 +0000 (12 08:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2012 00:10:49 +0000 (12 17:10 -0700)
tree43ee2fca349ce5756dcbd1b2e0b22bce76e12d71
parent33ac338cf97f5e225c62ebcb3ff1a40bf32c88ad
bnx2x: use param's id instead of sp_obj's id

Previously, we've used the object's function id instead of using the
input's value. This is 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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h