Implement local LE features adapter property
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / common / oal-utils.c
index 4cec7a5..65a7e8e 100755 (executable)
@@ -429,14 +429,19 @@ void local_le_feat_2_string(char *str, const bt_local_le_features_t *f)
        str += sprintf(str, "Num of offloaded scan filters: %u,\n",
                        f->max_adv_filter_supported);
 
-       scan_num = (f->scan_result_storage_size_hibyte << 8) +
-               f->scan_result_storage_size_lobyte;
+       scan_num = f->scan_result_storage_size;
 
        str += sprintf(str, "Num of offloaded scan results: %u,\n", scan_num);
 
        str += sprintf(str, "Activity & energy report support: %s\n",
                        f->activity_energy_info_supported ? "TRUE" : "FALSE");
 
+       str += sprintf(str, "LE 2M PHY support: %s\n",
+                       f->le_2m_phy_supported ? "TRUE" : "FALSE");
+
+       str += sprintf(str, "LE Coded PHY support: %s\n",
+                       f->le_coded_phy_supported ? "TRUE" : "FALSE");
+
        sprintf(str, "}");
 }