Change LE advertisement data length type (uint8_t -> uint16_t)
Chained advertisement data can be up to 1650 bytes.
Test: manual
Bug: 30622771
Change-Id: I67af5a8130ac2d3f0dbd8f5e3f28b72b152256c2
diff --git a/bta/include/bta_api.h b/bta/include/bta_api.h
index 3c0792f..d5ed42e 100644
--- a/bta/include/bta_api.h
+++ b/bta/include/bta_api.h
@@ -728,7 +728,7 @@
bool is_limited; /* true, if the limited inquiry bit is set in the CoD */
int8_t rssi; /* The rssi value */
uint8_t* p_eir; /* received EIR */
- uint8_t eir_len; /* received EIR length */
+ uint16_t eir_len; /* received EIR length */
uint8_t inq_result_type;
uint8_t ble_addr_type;
uint16_t ble_evt_type;