]> git.ipfire.org Git - people/ms/network.git/commitdiff
Fix incorrect variable name in SMP affinity handling
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Jun 2017 14:39:41 +0000 (16:39 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Jun 2017 16:32:17 +0000 (18:32 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.device

index a261335bc7fa3949ba21a6b55e6e7144a1eebd0f..cdd524816a319f8665a13b51c7674b4b45740a92 100644 (file)
@@ -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