Component/bt: fix auth_mode error when reconnection in SMP (backport v3.2) See merge request idf/esp-idf!3955