qcacmn: Use uint16 for peer ID

Peer ID can be 16bit wide, use unsigned short to avoid
overflow.

Change-Id: I5139991fc83f38ec0ddb1d658bf5dd60b42f50eb
This commit is contained in:
Balaganapathy Palanisamy 2019-05-08 17:02:17 +05:30 • committed by nshrivas
commit 6e4b4b8aaa

View file

@ -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;