net: socketpair: fix allocated number of buffers
According to `f9901e8e
` and validated by testing, the supplicant only
use case only requires 4 socket pairs. 6 pairs are required for the
`hostapd` use case.
Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
parent
94583777fd
commit
dfabbee634
1 changed files with 2 additions and 1 deletions
|
@ -360,7 +360,8 @@ if NET_SOCKETPAIR_STATIC
|
|||
|
||||
config NET_SOCKETPAIR_MAX
|
||||
int "How many socketpairs to pre-allocate"
|
||||
default 6 if WIFI_NM_WPA_SUPPLICANT
|
||||
default 6 if WIFI_NM_HOSTAPD_AP
|
||||
default 4 if WIFI_NM_WPA_SUPPLICANT
|
||||
default 1
|
||||
|
||||
endif # NET_SOCKETPAIR_STATIC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue