Skip to content

Commit 0f1f01f

Browse files
krish2718nashif
authored andcommitted
net: l2: wifi: Fix the minimum value
802.11 doesn't have specific constraints, it just says that listen interval should be >=0 and it a 2 byte field. 3 as a typical DTIM value from nRF chipsets, so, remove the hardware specific line and just set a failure. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent c5585af commit 0f1f01f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

subsys/net/l2/wifi/wifi_shell.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,6 @@ static int cmd_wifi_listen_interval(const struct shell *sh, size_t argc, char *a
19331933
WIFI_PS_PARAM_LISTEN_INTERVAL_RANGE_INVALID) {
19341934
PR_WARNING("Setting listen interval failed. Reason :%s\n",
19351935
wifi_ps_get_config_err_code_str(params.fail_reason));
1936-
PR_WARNING("Hardware support valid range : 3 - 65535\n");
19371936
} else {
19381937
PR_WARNING("Setting listen interval failed. Reason :%s\n",
19391938
wifi_ps_get_config_err_code_str(params.fail_reason));

0 commit comments

Comments
 (0)