Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b00fba0c authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

floss: mgmt: Don't restart Floss if the index doesn't present

If the index doesn't present then the start must fail. This patch only
aims to decrease the crash amount, no user facing issue is fixed.

Bug: 362366319
Tag: #floss
Test: mmm packages/modules/Bluetooth
Test: modprobe -r btusb  # btadapterd is not restarted immediately
      modprobe btusb     # btadapterd is then restarted
Test: btclient -c 'adapter enable' && modprobe -r btusb
      # btadapterd is not restarted after timeout
      modprobe btusb     # btadapterd is then restarted
Flag: EXEMPT, Floss-only change
Change-Id: Ie77fd55431c257308698d3b9a82673984bda2b8a
parent 513dcb11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment