[9610] wlbt : [Katmai Android O]Fix Platform build warnings.
Fixing warning in link_layer_stats.cpp file.Data argument
not used by format string.
Change-Id: Idffcb09fddb384b855864e50ece6f1a003006907
SCSC-Bug-Id:SSB-39698
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
diff --git a/link_layer_stats.cpp b/link_layer_stats.cpp
index f5185ec..14a6630 100755
--- a/link_layer_stats.cpp
+++ b/link_layer_stats.cpp
@@ -151,7 +151,7 @@
LinkLayerStatsCommand *command = new LinkLayerStatsCommand(iface, params);
wifi_error result = (wifi_error)command->start();
if (result != WIFI_SUCCESS) {
- ALOGE("failed to Set link layer stats", result);
+ ALOGE("failed to Set link layer stats (result:%d)", result);
}
return result;
}
@@ -162,7 +162,7 @@
LinkLayerStatsCommand *command = new LinkLayerStatsCommand(iface, stats_clear_req_mask, stats_clear_rsp_mask, stop_req, stop_rsp);
wifi_error result = (wifi_error)command->clear();
if (result != WIFI_SUCCESS) {
- ALOGE("failed to Clear link layer stats", result);
+ ALOGE("failed to Clear link layer stats (result:%d)", result);
*stats_clear_rsp_mask = 0;
*stop_rsp = 0;
} else {