From 3c7f0053d56448bbad3250e601ee1d1e0601b3e9 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Tue, 10 Sep 2024 17:39:13 +0530 Subject: [PATCH] [nrf noup] wifi_mgmt: Fix comments for PS exit strategy choices nrf-squash! [nrf noup] wifi_mgmt: Add support for configuring PS exit strategy The comments were not updated when enumerations were swapped. --- include/zephyr/net/wifi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/zephyr/net/wifi.h b/include/zephyr/net/wifi.h index e81a96aa00c..bc1c02a8426 100644 --- a/include/zephyr/net/wifi.h +++ b/include/zephyr/net/wifi.h @@ -419,10 +419,10 @@ const char *wifi_ps_wakeup_mode_txt(enum wifi_ps_wakeup_mode ps_wakeup_mode); * Wi-Fi power save exit strategy */ enum wifi_ps_exit_strategy { - /** PS-Poll frame based */ - WIFI_PS_EXIT_CUSTOM_ALGO = 0, /** QoS NULL frame based */ - WIFI_PS_EXIT_EVERY_TIM, + WIFI_PS_EXIT_EVERY_TIM = 0, + /** Uses a proprietary combination of PS-Poll and QoS-Null/Null */ + WIFI_PS_EXIT_CUSTOM_ALGO, /** Last value */ WIFI_PS_EXIT_LAST,