Revert "use bt_coex_mode_set to deterministically signify the DHCP start / Stop"

This reverts commit 2d15eaf507.

Reason for revert: Useless change

Change-Id: I0b58034d77ac2470ec0e83ff39a3b7f8c3a9d1fa
This commit is contained in:
Michael Bestas 2025-03-21 19:59:34 +02:00
commit fcb5d8ea5b
No known key found for this signature in database

View file

@ -2636,10 +2636,8 @@ 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);