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 <liubin7@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
zhuzj5 2022-04-13 17:11:38 +08:00 • committed by panyq6
commit c292b7a664

View file

@ -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);