While migrating to the new config system, something happened and delay_up variable got renamed to queue_id, which then persisted through a code move.
Fixes: b171e6fa41f6 ("teamd: lw: convert to use teamd config getters") Signed-off-by: Marcelo Ricardo Leitner marcelo.leitner@gmail.com --- teamd/teamd_lw_ethtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/teamd/teamd_lw_ethtool.c b/teamd/teamd_lw_ethtool.c index 8502109e0647..2010136a4c05 100644 --- a/teamd/teamd_lw_ethtool.c +++ b/teamd/teamd_lw_ethtool.c @@ -109,7 +109,7 @@ static int lw_ethtool_load_options(struct teamd_context *ctx, int err; int tmp;
- err = teamd_config_int_get(ctx, &tmp, "@.queue_id", cpcookie); + err = teamd_config_int_get(ctx, &tmp, "@.delay_up", cpcookie); if (!err) { if (tmp < 0) { teamd_log_err(""delay_up" must not be negative number.");