Changes to enable FM using old hal method
This is done tempararily to test FM with O rel
in bringup of new chipset
Change-Id: I6acf159d1bc6ece9e506587e1035b15727240cf2
diff --git a/fm_hci/Android.mk b/fm_hci/Android.mk
index c164235..f0e620e 100644
--- a/fm_hci/Android.mk
+++ b/fm_hci/Android.mk
@@ -20,6 +20,7 @@
LOCAL_SHARED_LIBRARIES := \
libdl \
+ liblog \
libcutils
LOCAL_CFLAGS := -Wno-unused-parameter
diff --git a/fm_hci/fm_hci.c b/fm_hci/fm_hci.c
index 9d0dafc..f45a00a 100644
--- a/fm_hci/fm_hci.c
+++ b/fm_hci/fm_hci.c
@@ -229,7 +229,8 @@
pthread_cond_signal(&hci->cmd_credits_cond);
} else if (pbuf->evt_code == FM_HW_ERR_EVENT) {
ALOGI("%s: FM H/w Err Event Recvd. Event Code: 0x%2x", __func__, pbuf->evt_code);
- hci->vendor->ssr_cleanup(0x22);
+ /* remove until support added */
+ //hci->vendor->ssr_cleanup(0x22);
status = power(hci, FM_RADIO_DISABLE);
if (status < 0) {
ALOGE("power off fm radio failed during SSR ");