From c292b7a66418deadf49fa9078bfabb73e7c63caf Mon Sep 17 00:00:00 2001 From: zhuzj5 Date: Wed, 13 Apr 2022 17:11:38 +0800 Subject: [PATCH] fix wifi reconnect issue fix DUT does not reconnect to wifi network while call is active Change-Id: Ib136b1bc771715be1ac464465e0170d2fbacbcc9 Reviewed-on: https://gerrit.mot.com/2241233 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Bin Liu Submit-Approved: Jira Key --- core/hdd/src/wlan_hdd_power.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_power.c b/core/hdd/src/wlan_hdd_power.c index bdf3f1344a25..6fa6e273a968 100644 --- a/core/hdd/src/wlan_hdd_power.c +++ b/core/hdd/src/wlan_hdd_power.c @@ -2621,10 +2621,7 @@ static int __wlan_hdd_cfg80211_set_power_mgmt(struct wiphy *wiphy, if (hdd_adapter_is_connected_sta(adapter)) { hdd_debug("vdev mode %d enable dhcp protection", adapter->device_mode); - if ( hdd_ctx->bt_coex_mode_set ) { - allow_power_save ? hdd_stop_dhcp_ind(adapter) : - hdd_start_dhcp_ind(adapter); - } + allow_power_save ? hdd_stop_dhcp_ind(adapter) : hdd_start_dhcp_ind(adapter); } else { hdd_debug("vdev mod %d disconnected ignore dhcp protection", adapter->device_mode);