From: Himani Gupta Date: Wed, 9 May 2018 10:32:09 +0000 (+0530) Subject: [9610] wlbt : [Katmai Android O]Fix Platform build warnings. X-Git-Tag: MMI-QSBS30.62-17-8~31 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eaedf9337a06232317fd2c4e521769f00caf6236;p=GitHub%2FMotorolaMobilityLLC%2Fhardware-samsung_slsi-scsc_wifibt-wifi_hal.git [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 --- 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 {