diff options
| -rw-r--r-- | core/bmi/src/ol_fw.c | 9 | ||||
| -rw-r--r-- | core/hdd/src/wlan_hdd_wmm.c | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/core/bmi/src/ol_fw.c b/core/bmi/src/ol_fw.c index 5eeab5c1538d..71b7217452fc 100644 --- a/core/bmi/src/ol_fw.c +++ b/core/bmi/src/ol_fw.c @@ -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 */ diff --git a/core/hdd/src/wlan_hdd_wmm.c b/core/hdd/src/wlan_hdd_wmm.c index 5af581e23274..9cfb8f3b02c7 100644 --- a/core/hdd/src/wlan_hdd_wmm.c +++ b/core/hdd/src/wlan_hdd_wmm.c @@ -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 |
