]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/s2io.c
S2io: Check for device state before handling traffic
authorSivakumar Subramani <Sivakumar.Subramani@neterion.com>
Thu, 6 Sep 2007 10:51:14 +0000 (06:51 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:51:10 +0000 (16:51 -0700)
commit92b84437a6cddf5dc00ab179e38d2baa2264d46a
treef59ff1584115efce91c535adc3c8e28dd9099fd5
parenteaae7f72304f2cd095e68ab39629c0f32815dcf2
S2io: Check for device state before handling traffic

- Added check to return from the traffic handling function, if the card status
  is DOWN.
- Implemented Jeff's comments on incorrect return value in s2io_poll function.

Signed-off-by: Sivakumar Subramani <sivakumar.subramani@neterion.com>
Signed-off-by: Santosh Rastapur <santosh.rastapur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/s2io.c
drivers/net/s2io.h