diff options
| author | Dundi Raviteja <dundi@codeaurora.org> | 2018-04-30 12:34:11 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-05-02 13:44:02 -0700 |
| commit | 2dd84acdfb72f6fbdd46194209d47150d21dfaea (patch) | |
| tree | ffde9e410c9021fc077b94f050f53808ab14e2de | |
| parent | 3cb45ee94e9b5b98ec566f876de0d3dad9a4ee47 (diff) | |
qcacld-3.0: Add fallthrough comment between switch cases
Currently, there is no break statement between switch cases in
function hdd_stop_present_mode(), here first case has to
fall through the next case instead of using break statement.
Add /* fallthrough */ comment between the cases.
Change-Id: I518628fb8ee084a0ea8de5c98c18a9a6c20b2637
CRs-Fixed: 2233177
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index c857c9c26a0a..672236a5a54b 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -12572,6 +12572,7 @@ static void hdd_stop_present_mode(hdd_context_t *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 */ case QDF_GLOBAL_MISSION_MODE: case QDF_GLOBAL_FTM_MODE: hdd_abort_mac_scan_all_adapters(hdd_ctx); |
