From eaedf9337a06232317fd2c4e521769f00caf6236 Mon Sep 17 00:00:00 2001 From: Himani Gupta Date: Wed, 9 May 2018 16:02:09 +0530 Subject: [PATCH] [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 --- link_layer_stats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ wifi_error wifi_set_link_stats(wifi_interface_handle iface, wifi_link_layer_para 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 @@ wifi_error wifi_clear_link_stats(wifi_interface_handle iface, 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 { -- 2.20.1