aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-11-29 21:51:36 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2007-11-29 21:51:36 +1100
commitdde655c9df02ee07ed090dfdb7ae8741bf299e14 (patch)
tree9880b957e04e587507910be222e7dc5da7a1e9a5 /mm
parent5dba4797115c8fa05c1a4d12927a6ae0b33ffc41 (diff)
[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 <johannes@sipsolutions.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions