From: Michael Tremer Date: Wed, 7 Jun 2017 14:39:41 +0000 (+0200) Subject: Fix incorrect variable name in SMP affinity handling X-Git-Tag: 009~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=505ead5d35ed9cedccec1b11a76d3d0b4b41d7da;p=network.git Fix incorrect variable name in SMP affinity handling Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.device b/src/functions/functions.device index a261335b..cdd52481 100644 --- a/src/functions/functions.device +++ b/src/functions/functions.device @@ -581,7 +581,7 @@ device_set_up() { # Set SMP affinity if interrupt_use_smp_affinity; then - device_auto_configure_smp_affinity "${port}" + device_auto_configure_smp_affinity ${device} fi return ${EXIT_OK} @@ -894,7 +894,7 @@ device_auto_configure_smp_affinity() { local device=${1} if lock_acquire "smp-affinity"; then - device_set_smp_affinity "${port}" auto + device_set_smp_affinity ${device} auto lock_release "smp-affinity" fi