Revert "fix wifi reconnect issue"

This reverts commit c292b7a664.

Reason for revert: Useless change

Change-Id: I0f46f9f15daf24e148d06b8a94dd4345c22befa6
This commit is contained in:
Michael Bestas 2025-03-21 19:58:51 +02:00
commit 10df1f57ef
No known key found for this signature in database

View file

@ -2636,7 +2636,10 @@ 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);
allow_power_save ? hdd_stop_dhcp_ind(adapter) : hdd_start_dhcp_ind(adapter);
if ( hdd_ctx->bt_coex_mode_set ) {
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);