wpa_ctrl_set_cmd_timeout()

Updated: April 19, 2023

Set the timeout for all command requests

Synopsis:

#include <wpa_ctrl.h>
int wpa_ctrl_set_cmd_timeout(int secs)

Arguments:

secs
The new timeout value, in seconds. The valid range is equal to or greater than 0 but less than 120. Out-of-range values cause the timeout to be set to its default value of 10.

Library:

libwpactrl

Returns:

The newly set timeout value