S2io: two branches the same in wait_for_cmd_complete()
authorRam Vepa <ram.vepa@neterion.com>
Tue, 19 Jan 2010 20:36:20 +0000 (12:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 20:36:20 +0000 (12:36 -0800)
commit2d146eb172d5f754e3973a3f761f7619ebb12df9
tree56eb5b1dc417c16ea139ade9b531ea77a5c774e8
parentdad48a4ef20774732e53840f371b0cc27981c43a
S2io: two branches the same in wait_for_cmd_complete()

Fix check to verify if a register bit is set. We have not hit this bug because
wait_for_cmd_complete() is always called with S2IO_BIT_RESET.
Reported by Roel Kluin <roel.kluin@gmail.com>.

Signed-off-by: Ram Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c