From 6e4b4b8aaacddfbb83fc0d865ff504d615fab53b Mon Sep 17 00:00:00 2001 From: Balaganapathy Palanisamy Date: Wed, 8 May 2019 17:02:17 +0530 Subject: [PATCH] qcacmn: Use uint16 for peer ID Peer ID can be 16bit wide, use unsigned short to avoid overflow. Change-Id: I5139991fc83f38ec0ddb1d658bf5dd60b42f50eb --- dp/wifi3.0/dp_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_types.h b/dp/wifi3.0/dp_types.h index 32037e9fa546..cd3ac2f237ad 100644 --- a/dp/wifi3.0/dp_types.h +++ b/dp/wifi3.0/dp_types.h @@ -1578,7 +1578,7 @@ struct dp_pdev { uint8_t dp_peer_based_pktlog; /* Cached peer_id from htt_peer_details_tlv */ - uint8_t fw_stats_peer_id; + uint16_t fw_stats_peer_id; /* qdf_event for fw_peer_stats */ qdf_event_t fw_peer_stats_event;