[PATCH] common: Fix the description of wpa_ctrl_request function

Andrei Otcheretianski andrei.otcheretianski at intel.com
Thu Feb 1 07:12:03 PST 2018


From: Simon Dinkin <simon.dinkin at tandemg.com>

The blocking timeout of this function was changed
from 2 seconds to 10 seconds in this commit
1480633f ("Use longer timeout in wpa_ctrl_request()"),
but the description was never changed accordingly.

Signed-off-by: Simon Dinkin <simon.dinkin at tandemg.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
 src/common/wpa_ctrl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/wpa_ctrl.h b/src/common/wpa_ctrl.h
index 604a40e..c369ebb 100644
--- a/src/common/wpa_ctrl.h
+++ b/src/common/wpa_ctrl.h
@@ -446,7 +446,7 @@ void wpa_ctrl_close(struct wpa_ctrl *ctrl);
  *
  * This function is used to send commands to wpa_supplicant/hostapd. Received
  * response will be written to reply and reply_len is set to the actual length
- * of the reply. This function will block for up to two seconds while waiting
+ * of the reply. This function will block for up to 10 seconds while waiting
  * for the reply. If unsolicited messages are received, the blocking time may
  * be longer.
  *
-- 
2.7.4




More information about the Hostap mailing list