Merge "BLE peripheral mode (1/4): change HAL to support service data and service uuids." into klp-modular-dev
diff --git a/hardware.c b/hardware.c
index da89dd9..f835fda 100644
--- a/hardware.c
+++ b/hardware.c
@@ -160,7 +160,7 @@
/* First try a property specific to the class and possibly instance */
snprintf(prop_name, sizeof(prop_name), "ro.hardware.%s", name);
- if (property_get(prop_name, prop, NULL) == 0) {
+ if (property_get(prop_name, prop, NULL) > 0) {
if (hw_module_exists(path, sizeof(path), name, prop) == 0) {
goto found;
}