qcacld-3.0: Use correct enum type for function variable

Use correct enum type for function variable in hdd_reset_tcp_delack
& return type in iw_get_policy_manager_ut_ops.

Change-Id: Iec8a678410b90dbe081c007f1bbfaa31f255799e
CRs-Fixed: 2213784
This commit is contained in:
Tushnim Bhattacharyya 2018-03-27 12:46:48 -07:00 • committed by nshrivas
commit dfbce70aaf
2 changed files with 2 additions and 5 deletions

View file

@ -2262,7 +2262,7 @@ void hdd_tx_queue_cb(void *context, uint32_t vdev_id,
*/
void hdd_reset_tcp_delack(struct hdd_context *hdd_ctx)
{
enum pld_bus_width_type next_level = WLAN_SVC_TP_LOW;
enum wlan_tp_level next_level = WLAN_SVC_TP_LOW;
struct wlan_rx_tp_data rx_tp_data = {0};
rx_tp_data.rx_tp_flags |= TCP_DEL_ACK_IND;

View file

@ -7172,14 +7172,11 @@ static int iw_get_policy_manager_ut_ops(struct hdd_context *hdd_ctx,
case WE_POLICY_MANAGER_QUERY_ACTION_CMD:
{
enum policy_mgr_conc_next_action action;
hdd_debug("<iwpriv wlan0 pm_query_action> is called");
action = policy_mgr_current_connections_update(
policy_mgr_current_connections_update(
hdd_ctx->hdd_psoc,
adapter->session_id, apps_args[0],
POLICY_MGR_UPDATE_REASON_UT);
pr_info("next action is %d {HDD_NOP = 0, HDD_DBS, HDD_DBS_DOWNGRADE, HDD_MCC, HDD_MCC_UPGRADE}", action);
}
break;