wpa_ctrl_detach()

Unregister as an event monitor

Synopsis:

#include <wpa_ctrl.h>
int wpa_ctrl_detach(struct wpa_ctrl *ctrl)

Arguments:

ctrl
Control connection data from wpa_ctrl_open()

Library:

libwpactrl

Description:

This function unregisters the caller as a monitor for WPA control interface events. Essentially, it cancels the registration done with wpa_ctrl_attach().

Returns:

0
Success
-1
Unknown failure
-2
Failure due to timeout
Page updated: