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 <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
parent
c5585af4c4
commit
0f1f01f9f4
1 changed files with 0 additions and 1 deletions
|
|
@ -1933,7 +1933,6 @@ static int cmd_wifi_listen_interval(const struct shell *sh, size_t argc, char *a
|
|||
WIFI_PS_PARAM_LISTEN_INTERVAL_RANGE_INVALID) {
|
||||
PR_WARNING("Setting listen interval failed. Reason :%s\n",
|
||||
wifi_ps_get_config_err_code_str(params.fail_reason));
|
||||
PR_WARNING("Hardware support valid range : 3 - 65535\n");
|
||||
} else {
|
||||
PR_WARNING("Setting listen interval failed. Reason :%s\n",
|
||||
wifi_ps_get_config_err_code_str(params.fail_reason));
|
||||
|
|
|
|||
Loading…
Reference in a new issue