]> err.no Git - linux-2.6/commit
[BNX2]: Fix minor bug in bnx2_has_work().
authorMichael Chan <mchan@broadcom.com>
Tue, 22 Jan 2008 01:06:41 +0000 (17:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:14 +0000 (15:10 -0800)
commit1097f5e92107ca3950fabf5e1d724faa80c91e7f
tree7088f4b9ab0d0481d43e2fc3d6a998d44c006dc2
parent2dd201d7b735f252df1a915a3f2e6a71910a3d87
[BNX2]: Fix minor bug in bnx2_has_work().

It is more correct to get the status block from the bnx2_napi struct
instead of the bnx2 struct.  It happens that they are the same in this
case because we are using the first MSIX vector.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c