net/mlx5: fix link status to use wait to complete