Skip to content
Commit 3defd0ee authored by Jiri Bohac's avatar Jiri Bohac Committed by Jeff Garzik
Browse files

amd8111e: don't call napi_enable if configured w/o NAPI

The amd8111e network driver was broken by
bea3348e

, which makes the driver
call napi_enable() and napi_disable() even if the driver had been
configured without CONFIG_AMD8111E_NAPI, and thus
netif_napi_add() had not been called on initialization.
This triggers a BUG in napi_enable().

This patch fixes the problem. Please apply.

Signed-off-by: default avatarJiri Bohac <jbohac@suse.cz>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 77b69015
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment