google_charger: add WLC type for WLC pad less than WLC_BPP_THRESHOLD_UV
Bug: 262461194
Change-Id: I9abd1e7ebe58155011851d25e907c4c820faa096
Signed-off-by: Jenny Ho <[email protected]>
diff --git a/google_charger.c b/google_charger.c
index e54f598..e4b0184 100644
--- a/google_charger.c
+++ b/google_charger.c
@@ -696,6 +696,7 @@
return -EINVAL;
}
+ ad->ad_type = CHG_EV_ADAPTER_TYPE_WLC;
if (voltage_max >= WLC_EPP_THRESHOLD_UV) {
ad->ad_type = CHG_EV_ADAPTER_TYPE_WLC_EPP;
} else if (voltage_max >= WLC_BPP_THRESHOLD_UV) {