qcacld-3.0: Add break at end of switch case

Propagate from qcacld-2.0 to qcacld-3.0

Currently there are some places where break is missed at the end of
switch case. Add fix to correct it.

CRs-Fixed: 1063255
Change-Id: I117bdf7280e7cd1127d2251f1412a08ac8aadbc9
This commit is contained in:
Yingying Tang 2016-10-20 23:12:36 +08:00 committed by qcabuildsw
parent 54ebfe43ab
commit 9fad0cab1c
2 changed files with 6 additions and 4 deletions

View File

@ -303,17 +303,18 @@ __ol_transfer_bin_file(struct ol_context *ol_ctx, ATH_BIN_FILE file,
fw_entry_size);
switch (target_type) {
default:
board_data_size = 0;
board_ext_data_size = 0;
break;
case TARGET_TYPE_AR6004:
board_data_size = AR6004_BOARD_DATA_SZ;
board_ext_data_size = AR6004_BOARD_EXT_DATA_SZ;
break;
case TARGET_TYPE_AR9888:
board_data_size = AR9888_BOARD_DATA_SZ;
board_ext_data_size = AR9888_BOARD_EXT_DATA_SZ;
break;
default:
board_data_size = 0;
board_ext_data_size = 0;
break;
}
/* Determine where in Target RAM to write Board Data */

View File

@ -2315,6 +2315,7 @@ hdd_wlan_wmm_status_e hdd_wmm_delts(hdd_adapter_t *pAdapter, uint32_t handle)
case SME_QOS_STATUS_RELEASE_FAILURE_RSP:
/* nothing we can do with the existing flow except leave it */
status = HDD_WLAN_WMM_STATUS_RELEASE_FAILED;
break;
default:
/* we didn't get back one of the