summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c b/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c
index 04b4ad1..53e2ec3 100644
--- a/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c
+++ b/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c
@@ -106,7 +106,7 @@ static int wpa_driver_cmd_set_congestion_report(struct i802_bss *bss, char *cmd)
if (!(*endptr) ||
((threshold = strtol(endptr, &endptr, 10)) < 0 || threshold > 100) ||
!(*endptr) ||
- ((interval = strtol(endptr, &endptr, 10)) < 1 || interval > 255)) {
+ ((interval = strtol(endptr, &endptr, 10)) < 1 || interval > 30)) {
wpa_printf(MSG_ERROR, "%s: args less or invalid", __FUNCTION__);
return -EINVAL;
}