commit | dde655c9df02ee07ed090dfdb7ae8741bf299e14 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Thu Nov 29 21:51:36 2007 +1100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Nov 29 21:51:36 2007 +1100 |
tree | 9880b957e04e587507910be222e7dc5da7a1e9a5 | |
parent | 5dba4797115c8fa05c1a4d12927a6ae0b33ffc41 [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>