In that case, there's nothing we can do it's on the LinkedIn side.
Your only option is to de-activate 2FA via SMS and set it up with OAuth or not using 2FA at all.
You can also try an alternative solution which is that you can allow push notifications in your LinkedIn mobile App to receive the 2FA code.