[7570][7872][7885][9610] wlbt: Prevent issue in hal
Changes done to fix prevent issues in hal. Break
statements were missing in wifi_logger.cpp and
wifi_nan.cpp files.
Change-Id: Ie047e074c9554b4a0dbcdd4177ea8da54e79ad9e
SCSC-Bug-Id: SSB-51047
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
diff --git a/wifi_logger.cpp b/wifi_logger.cpp
index 4a30422..4ab5d74 100755
--- a/wifi_logger.cpp
+++ b/wifi_logger.cpp
@@ -1124,7 +1124,7 @@
it.get_type(), it.get_len());
}
}
- [[fallthrough]];
+ break;
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) {
@@ -1173,8 +1173,8 @@
it.get_type(), it.get_len());
}
}
- [[fallthrough]];
- case GET_FW_VER:
+ break;
+ case GET_FW_VER:
case GET_DRV_VER:
case GET_RING_DATA:
case GET_RING_STATUS:
diff --git a/wifi_nan.cpp b/wifi_nan.cpp
index 6910549..3b608ec 100755
--- a/wifi_nan.cpp
+++ b/wifi_nan.cpp
@@ -475,7 +475,7 @@
break;
}
}
- [[fallthrough]];
+ break;
case NAN_EVT_ATTR_MATCH_CLUSTER_ATTRIBUTE_LEN:
ind.cluster_attribute_len = nl_itr.get_u8();
break;
@@ -484,7 +484,7 @@
break;
}
}
-
+
if (this->callbackEventHandler.EventMatch)
this->callbackEventHandler.EventMatch(&ind);
return NL_OK;