[PATCH 6.12 020/132] team: Move team device type change at the end of team_port_add