Update logging for type change of feature_set.
Update type from x to PRIx64 for feature_set log statements.
Bug: 145312150
Change-Id: I45d11c15cf810eda0ffde91b2dd53d8369da3ce8
diff --git a/qcwcn/wifi_hal/ifaceeventhandler.cpp b/qcwcn/wifi_hal/ifaceeventhandler.cpp
index bf48a0c..261b1ce 100644
--- a/qcwcn/wifi_hal/ifaceeventhandler.cpp
+++ b/qcwcn/wifi_hal/ifaceeventhandler.cpp
@@ -244,7 +244,7 @@
return -EINVAL;
}
mSet = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET]);
- ALOGV("Supported feature set : %x", mSet);
+ ALOGV("Supported feature set : %" PRIx64, mSet);
break;
}
@@ -304,7 +304,7 @@
__func__);
for(i = 0; i < *mSetSizePtr; i++)
{
- ALOGV("%x", *(mConcurrencySet + i));
+ ALOGV("%" PRIx64, *(mConcurrencySet + i));
}
}
}
diff --git a/qcwcn/wifi_hal/wifi_hal.cpp b/qcwcn/wifi_hal/wifi_hal.cpp
index 5e50daa..09e113f 100644
--- a/qcwcn/wifi_hal/wifi_hal.cpp
+++ b/qcwcn/wifi_hal/wifi_hal.cpp
@@ -896,7 +896,7 @@
}
ALOGV("Initialized Wifi HAL Successfully; vendor cmd = %d Supported"
- " features : %x", NL80211_CMD_VENDOR, info->supported_feature_set);
+ " features : %" PRIx64, NL80211_CMD_VENDOR, info->supported_feature_set);
if (wifi_is_nan_ext_cmd_supported(iface_handle))
info->support_nan_ext_cmd = true;
@@ -1882,10 +1882,10 @@
ret = acquire_supported_features(iface, set);
if (ret != WIFI_SUCCESS) {
*set = info->supported_feature_set;
- ALOGV("Supported feature set acquired at initialization : %x", *set);
+ ALOGV("Supported feature set acquired at initialization : %" PRIx64, *set);
} else {
info->supported_feature_set = *set;
- ALOGV("Supported feature set acquired : %x", *set);
+ ALOGV("Supported feature set acquired : %" PRIx64, *set);
}
return WIFI_SUCCESS;
}