From: Johannes Berg Date: Thu, 29 Nov 2007 10:51:36 +0000 (+1100) Subject: [SUNGEM]: Fix NAPI regression with reset work X-Git-Tag: v2.6.24-rc4~8^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dde655c9df02ee07ed090dfdb7ae8741bf299e14;p=pandora-kernel.git [SUNGEM]: Fix NAPI regression with reset work sungem's gem_reset_task() will unconditionally try to disable NAPI even when it's called while the interface is not operating and hence the NAPI struct isn't enabled. Make napi_disable() depend on gp->running. Also removes a superfluous test of gp->running in the same function. Signed-off-by: Johannes Berg Signed-off-by: Herbert Xu --- Reading git-diff-tree failed