diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 09021937e8d8..0ba282c8a667 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -4298,9 +4298,9 @@ static int hdd_we_set_power(struct hdd_adapter *adapter, int value) return 0; case 2: /* Disable PowerSave */ - sme_save_usr_ps_cfg(mac_handle, false); sme_ps_enable_disable(mac_handle, adapter->vdev_id, SME_PS_DISABLE); + sme_save_usr_ps_cfg(mac_handle, false); return 0; case 3: /* Enable UASPD */