]> git.hungrycats.org Git - linux/commit
[netdrvr tulip] fix hashed setup frame code
authorPrasanna Meda <pmeda@akamai.com>
Sun, 16 Nov 2003 13:05:16 +0000 (08:05 -0500)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 16 Nov 2003 13:05:16 +0000 (08:05 -0500)
commitd6f5ede4264e34d81e6f43467c78e5f1ce3dab38
treeba69931d5740fd2e36e29d7a29c46fa07c08c1b3
parent5ada03a92363fbcd94259a37507c183e6e29c48e
[netdrvr tulip] fix hashed setup frame code

It is using local variable `i' in both the inner and outer loop.

Need to bring the for loop outside the loop.  Otherwise we need to reset the
setup_frame to tp->setup_frame after every loop.  You do not need to set the
setup_frm for every mc address, we can set once after the complete has_table
is ready.
drivers/net/tulip/tulip_core.c