OSDN Git Service

bt: Fix HCI driver selection logic for Qualcomm Bluetooth
authorEthan Chen <intervigil@gmail.com>
Mon, 3 Oct 2016 22:39:10 +0000 (15:39 -0700)
committerEthan Chen <intervigil@gmail.com>
Tue, 4 Oct 2016 02:32:03 +0000 (19:32 -0700)
commit0aabc8703381d0b2e25901ea4de6ae3b8717a871
tree726e7f0f2fee72646feeb70a86d7669975ad0065
parenteeb0c5f7368b2d21a3ab0ee2205177830710f610
bt: Fix HCI driver selection logic for Qualcomm Bluetooth

* Previously BT_SOC_SMD was the same as BT_SOC_DEFAULT, which
  is no longer true.
* The iteration to determine SOC type only worked due to the specific
  values of BT_SOC_DEFAULT and BT_SOC_SMD previously. Fix the iteration
  to actually check all SOC types.

Change-Id: If282200737099d6587f3dc6fcd0a7e70b93996cb
utils/src/bt_utils.c