Use longer timeout in wpa_ctrl_request()
Wait longer for control interface response from wpa_supplicant to avoid issues with some drivers that have long blocking operations.
This commit is contained in:
parent
36fde1e79c
commit
1480633f96
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len,
|
|||
os_free(cmd_buf);
|
||||
|
||||
for (;;) {
|
||||
tv.tv_sec = 2;
|
||||
tv.tv_sec = 10;
|
||||
tv.tv_usec = 0;
|
||||
FD_ZERO(&rfds);
|
||||
FD_SET(ctrl->s, &rfds);
|
||||
|
|
Loading…
Reference in a new issue