|
@@ -1120,7 +1120,7 @@ static int __hdd_netdev_notifier_call(struct net_device *net_dev,
|
|
|
case NETDEV_FEAT_CHANGE:
|
|
|
hdd_debug("vdev %d netdev Feature 0x%llx\n",
|
|
|
adapter->vdev_id, net_dev->features);
|
|
|
-
|
|
|
+ break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
@@ -3532,7 +3532,7 @@ int hdd_start_adapter(struct hdd_adapter *adapter)
|
|
|
if (hdd_max_sta_interface_up_count_reached(adapter))
|
|
|
goto err_start_adapter;
|
|
|
|
|
|
- /* fall through */
|
|
|
+ fallthrough;
|
|
|
case QDF_P2P_DEVICE_MODE:
|
|
|
case QDF_OCB_MODE:
|
|
|
case QDF_MONITOR_MODE:
|
|
@@ -4599,7 +4599,7 @@ int hdd_wlan_start_modules(struct hdd_context *hdd_ctx, bool reinit)
|
|
|
case DRIVER_MODULES_UNINITIALIZED:
|
|
|
hdd_nofl_debug("Wlan transitioning (UNINITIALIZED -> CLOSED)");
|
|
|
unint = true;
|
|
|
- /* fallthrough */
|
|
|
+ fallthrough;
|
|
|
case DRIVER_MODULES_CLOSED:
|
|
|
hdd_nofl_debug("Wlan transitioning (CLOSED -> ENABLED)");
|
|
|
|
|
@@ -7715,7 +7715,7 @@ struct hdd_adapter *hdd_open_adapter(struct hdd_context *hdd_ctx,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /* fall through */
|
|
|
+ fallthrough;
|
|
|
case QDF_P2P_CLIENT_MODE:
|
|
|
case QDF_P2P_DEVICE_MODE:
|
|
|
case QDF_OCB_MODE:
|
|
@@ -8361,7 +8361,7 @@ QDF_STATUS hdd_stop_adapter_ext(struct hdd_context *hdd_ctx,
|
|
|
hdd_err("Failed to set is_pre_cac_on to false");
|
|
|
}
|
|
|
#endif
|
|
|
- /* fallthrough */
|
|
|
+ fallthrough;
|
|
|
|
|
|
case QDF_P2P_GO_MODE:
|
|
|
sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(adapter);
|
|
@@ -9124,6 +9124,7 @@ QDF_STATUS hdd_start_all_adapters(struct hdd_context *hdd_ctx)
|
|
|
break;
|
|
|
case QDF_NDI_MODE:
|
|
|
hdd_ndi_start(adapter->dev->name, 0);
|
|
|
+ break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
@@ -16047,16 +16048,16 @@ void hdd_dp_trace_init(struct hdd_config *config)
|
|
|
switch (num_entries) {
|
|
|
case 4:
|
|
|
proto_bitmap = config_params[3];
|
|
|
- /* fall through */
|
|
|
+ fallthrough;
|
|
|
case 3:
|
|
|
verbosity = config_params[2];
|
|
|
- /* fall through */
|
|
|
+ fallthrough;
|
|
|
case 2:
|
|
|
thresh = config_params[1];
|
|
|
- /* fall through */
|
|
|
+ fallthrough;
|
|
|
case 1:
|
|
|
live_mode = config_params[0];
|
|
|
- /* fall through */
|
|
|
+ fallthrough;
|
|
|
default:
|
|
|
hdd_debug("live_mode %u thresh %u time_limit %u verbosity %u bitmap 0x%x",
|
|
|
live_mode, thresh, thresh_time_limit,
|
|
@@ -18685,7 +18686,7 @@ static void hdd_stop_present_mode(struct hdd_context *hdd_ctx,
|
|
|
hdd_info("Release wakelock for monitor mode!");
|
|
|
qdf_wake_lock_release(&hdd_ctx->monitor_mode_wakelock,
|
|
|
WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE);
|
|
|
- /* fallthrough */
|
|
|
+ fallthrough;
|
|
|
case QDF_GLOBAL_MISSION_MODE:
|
|
|
case QDF_GLOBAL_FTM_MODE:
|
|
|
hdd_abort_mac_scan_all_adapters(hdd_ctx);
|