wpa_ctrl: Update wpa_ctrl_recv() documentation for non-block behavior
Commit 4fdc8def88
changed the wpa_ctrl
socket to be be non-blocking, so the comment about wpa_ctrl_recv()
blocking is not valid anymore.
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
1274ec2329
commit
43f02e6ad7
1 changed files with 4 additions and 3 deletions
|
@ -345,9 +345,10 @@ int wpa_ctrl_detach(struct wpa_ctrl *ctrl);
|
||||||
* @reply_len: Length of the reply buffer
|
* @reply_len: Length of the reply buffer
|
||||||
* Returns: 0 on success, -1 on failure
|
* Returns: 0 on success, -1 on failure
|
||||||
*
|
*
|
||||||
* This function will receive a pending control interface message. This
|
* This function will receive a pending control interface message. The received
|
||||||
* function will block if no messages are available. The received response will
|
* response will be written to reply and reply_len is set to the actual length
|
||||||
* be written to reply and reply_len is set to the actual length of the reply.
|
* of the reply.
|
||||||
|
|
||||||
* wpa_ctrl_recv() is only used for event messages, i.e., wpa_ctrl_attach()
|
* wpa_ctrl_recv() is only used for event messages, i.e., wpa_ctrl_attach()
|
||||||
* must have been used to register the control interface as an event monitor.
|
* must have been used to register the control interface as an event monitor.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue