qcacld-3.0: dp: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers such as clang require the attribute instead of just a fallthrough comment. Change-Id: I6d12321a649b61b35f9abf4fb977d368fc8a6e4e CRs-Fixed: 3217402
This commit is contained in:

committed by
Madan Koyyalamudi

parent
7e9e394af6
commit
ca2a11a0c4
@@ -313,16 +313,16 @@ void dp_trace_init(struct wlan_objmgr_psoc *psoc)
|
|||||||
switch (num_entries) {
|
switch (num_entries) {
|
||||||
case 4:
|
case 4:
|
||||||
proto_bitmap = config_params[3];
|
proto_bitmap = config_params[3];
|
||||||
/* fallthrough */
|
fallthrough;
|
||||||
case 3:
|
case 3:
|
||||||
verbosity = config_params[2];
|
verbosity = config_params[2];
|
||||||
/* fallthrough */
|
fallthrough;
|
||||||
case 2:
|
case 2:
|
||||||
thresh = config_params[1];
|
thresh = config_params[1];
|
||||||
/* fallthrough */
|
fallthrough;
|
||||||
case 1:
|
case 1:
|
||||||
live_mode = config_params[0];
|
live_mode = config_params[0];
|
||||||
/* fallthrough */
|
fallthrough;
|
||||||
default:
|
default:
|
||||||
dp_debug("live_mode %u thresh %u time_limit %u verbosity %u bitmap 0x%x",
|
dp_debug("live_mode %u thresh %u time_limit %u verbosity %u bitmap 0x%x",
|
||||||
live_mode, thresh, thresh_time_limit,
|
live_mode, thresh, thresh_time_limit,
|
||||||
|
@@ -330,7 +330,7 @@ int dp_softap_inspect_dhcp_packet(struct wlan_dp_intf *dp_intf,
|
|||||||
sta_info->sta_mac.bytes,
|
sta_info->sta_mac.bytes,
|
||||||
true);
|
true);
|
||||||
sta_info->dhcp_nego_status = DHCP_NEGO_IN_PROGRESS;
|
sta_info->dhcp_nego_status = DHCP_NEGO_IN_PROGRESS;
|
||||||
/* fallthrough */
|
fallthrough;
|
||||||
case QDF_PROTO_DHCP_DECLINE:
|
case QDF_PROTO_DHCP_DECLINE:
|
||||||
if (dir == QDF_RX)
|
if (dir == QDF_RX)
|
||||||
sta_info->dhcp_phase = DHCP_PHASE_REQUEST;
|
sta_info->dhcp_phase = DHCP_PHASE_REQUEST;
|
||||||
|
Reference in New Issue
Block a user