natsemi: fix netdev error acounting
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Aug 2007 21:05:23 +0000 (14:05 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 14 Aug 2007 05:36:39 +0000 (01:36 -0400)
commitc76720cf7ba63a3d179b6da8675653c8b01b6c0b
treeefc02af3ea5a5487042fc5528a4898e9ec4993a5
parentb4efe22cc987f4cd68ff838556580c0cc8c64cbc
natsemi: fix netdev error acounting

When a detailed netdev error is counted, we also must account for it in the
aggregated error count.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=8106

Cc: Tim Hockin <thockin@hockin.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Chongfeng Hu <loveminix@yahoo.com.cn>
Cc: Natalie Protasevich <protasnb@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/natsemi.c