samples: mgmt: mcumgr: smp_svr: Bluetooth advertising restarted on connection #83041
Labels
area: mcumgr
area: Samples
Samples
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
Commit c6ad4a7 introduced an error whereby after a device connects, bluetooth advertising is restarted irrespective if the connection was successful or not, this leads to an error if the connection was successful since the maximum number of connections in the sample is 1 and it cannot hold a connection and be advertising for another one.
Expected behavior
Advertising not restarted if the connection was successful
Impact
Annoyance
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: