|
@@ -1366,6 +1366,8 @@ static int team_user_linkup_option_get(struct team *team,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+static void __team_carrier_check(struct team *team);
|
|
|
+
|
|
|
static int team_user_linkup_option_set(struct team *team,
|
|
|
struct team_gsetter_ctx *ctx)
|
|
|
{
|
|
@@ -1373,6 +1375,7 @@ static int team_user_linkup_option_set(struct team *team,
|
|
|
|
|
|
port->user.linkup = ctx->data.bool_val;
|
|
|
team_refresh_port_linkup(port);
|
|
|
+ __team_carrier_check(port->team);
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -1392,6 +1395,7 @@ static int team_user_linkup_en_option_set(struct team *team,
|
|
|
|
|
|
port->user.linkup_enabled = ctx->data.bool_val;
|
|
|
team_refresh_port_linkup(port);
|
|
|
+ __team_carrier_check(port->team);
|
|
|
return 0;
|
|
|
}
|
|
|
|