diff options
| author | Tarun Karela <t.karela@samsung.com> | 2019-04-03 20:29:30 +0100 |
|---|---|---|
| committer | Tarun Karela <t.karela@samsung.com> | 2019-04-26 13:26:03 +0100 |
| commit | ea44a0c5cb0ff651bb3e6765bafb46c4474abec2 (patch) | |
| tree | 89cdac632b60033f90e5c685546c29a824ba493a | |
| parent | f3a9f24c848639f961dd2af750ca4a3d4de7e82f (diff) | |
[9610] wlbt: Fix compilation erros for Android Q
Androi Q specific compilation error
Change-Id: Ia00cf8ad977c03520954ef0801e4cac59c5fd6a4
SCSC-Bug-Id: SSB-50778
Signed-off-by: Tarun Karela <t.karela@samsung.com>
| -rwxr-xr-x | rtt.cpp | 6 | ||||
| -rwxr-xr-x | wifi_logger.cpp | 2 | ||||
| -rwxr-xr-x | wifi_nan.cpp | 1 |
3 files changed, 6 insertions, 3 deletions
@@ -132,7 +132,7 @@ static const strmap_entry_t err_info[] = { }*/ class RttCommand : public WifiCommand { - int rtt_id; + int rtt_id; unsigned numTargetDevice; int mCompleted; int currentIdx; @@ -416,11 +416,11 @@ public: } else if (nl_nested_itr.get_type() == SLSI_RTT_EVENT_ATTR_SUCCESS_NUM) { rtt_result->success_number = (unsigned)nl_nested_itr.get_u8(); } else if (nl_nested_itr.get_type() == SLSI_RTT_EVENT_ATTR_NUM_PER_BURST_PEER) { - rtt_result->number_per_burst_peer = (byte)nl_nested_itr.get_u8(); + rtt_result->number_per_burst_peer = (unsigned char)nl_nested_itr.get_u8(); } else if (nl_nested_itr.get_type() == SLSI_RTT_EVENT_ATTR_STATUS) { rtt_result->status = (wifi_rtt_status)nl_nested_itr.get_u16(); } else if (nl_nested_itr.get_type() == SLSI_RTT_EVENT_ATTR_RETRY_AFTER_DURATION) { - rtt_result->retry_after_duration = (byte)nl_nested_itr.get_u8(); + rtt_result->retry_after_duration = (unsigned char)nl_nested_itr.get_u8(); } else if (nl_nested_itr.get_type() == SLSI_RTT_EVENT_ATTR_TYPE) { rtt_result->type = (wifi_rtt_type)nl_nested_itr.get_u16(); } else if (nl_nested_itr.get_type() == SLSI_RTT_EVENT_ATTR_RSSI) { diff --git a/wifi_logger.cpp b/wifi_logger.cpp index 0d8eed2..4a30422 100755 --- a/wifi_logger.cpp +++ b/wifi_logger.cpp @@ -1124,6 +1124,7 @@ public: it.get_type(), it.get_len());
}
}
+ [[fallthrough]];
case GET_DRIVER_DUMP :
for (nl_iterator it(vendor_data); it.has_next(); it.next()) {
if (it.get_type() == ENHANCE_LOGGER_ATTRIBUTE_DRIVER_DUMP_LEN) {
@@ -1172,6 +1173,7 @@ public: it.get_type(), it.get_len());
}
}
+ [[fallthrough]];
case GET_FW_VER:
case GET_DRV_VER:
case GET_RING_DATA:
diff --git a/wifi_nan.cpp b/wifi_nan.cpp index e5a60d1..6910549 100755 --- a/wifi_nan.cpp +++ b/wifi_nan.cpp @@ -475,6 +475,7 @@ class NanCommand : public WifiCommand { break; } } + [[fallthrough]]; case NAN_EVT_ATTR_MATCH_CLUSTER_ATTRIBUTE_LEN: ind.cluster_attribute_len = nl_itr.get_u8(); break; |
