[BNX2]: Fix bug in bnx2_nvram_write().
authorMichael Chan <mchan@broadcom.com>
Thu, 14 Dec 2006 23:56:50 +0000 (15:56 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Dec 2006 05:59:16 +0000 (21:59 -0800)
commit6a13add1e1b802a29187a9af98a6ca26539dc33d
tree510c75c132064ec6a976ac0e70a61da02dd328ea
parentfaac9c4b753f420c02bdce0785d2657087830a12
[BNX2]: Fix bug in bnx2_nvram_write().

Length was not calculated correctly if the NVRAM offset is on a non-
aligned offset.

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