[TG3]: Fix bug in tg3_set_eeprom()
authorMichael Chan <mchan@broadcom.com>
Fri, 22 Apr 2005 00:12:46 +0000 (17:12 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Apr 2005 00:12:46 +0000 (17:12 -0700)
commit1c8594b48b00a98d12477355e944e165a5f64cd5
treef784f244a3322b25abb7fae02cae7be20a64eb53
parente6af301be3c129adbc8a7c8ffb76e62533ad9575
[TG3]: Fix bug in tg3_set_eeprom()

Fix a bug in tg3_set_eeprom() when the length is less than 4 and the
offset is not 4-byte aligned.

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