Fix valid range for disable_ht40
This network parameter uses values 0 and 1, so -1 should not have been accepted. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b1a880f38f
commit
fd24ed9490
1 changed files with 1 additions and 1 deletions
|
@ -2675,7 +2675,7 @@ static const struct parse_data ssid_fields[] = {
|
|||
#endif /* CONFIG_P2P */
|
||||
#ifdef CONFIG_HT_OVERRIDES
|
||||
{ INT_RANGE(disable_ht, 0, 1) },
|
||||
{ INT_RANGE(disable_ht40, -1, 1) },
|
||||
{ INT_RANGE(disable_ht40, 0, 1) },
|
||||
{ INT_RANGE(disable_sgi, 0, 1) },
|
||||
{ INT_RANGE(disable_ldpc, 0, 1) },
|
||||
{ INT_RANGE(ht40_intolerant, 0, 1) },
|
||||
|
|
Loading…
Reference in a new issue