Home | History | Annotate | Download | only in common

Lines Matching full:ctrl

25 	struct wpa_ctrl *ctrl;
28 ctrl = wpa_ctrl_open(buf);
29 if (ctrl == NULL)
31 return ctrl;
37 struct wpa_ctrl *ctrl;
42 ctrl = wpa_open_ctrl(ifname);
43 if (ctrl == NULL)
46 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL) < 0) {
48 wpa_ctrl_close(ctrl);
51 wpa_ctrl_close(ctrl);
64 struct wpa_ctrl *ctrl;
68 ctrl = wpa_open_ctrl(ifname);
69 if (ctrl == NULL)
72 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), resp, &len, NULL) < 0) {
74 wpa_ctrl_close(ctrl);
77 wpa_ctrl_close(ctrl);
85 struct wpa_ctrl *ctrl;
87 ctrl = wpa_open_ctrl(ifname);
88 if (ctrl == NULL)
90 if (wpa_ctrl_attach(ctrl) < 0) {
91 wpa_ctrl_close(ctrl);
95 return ctrl;
166 struct wpa_ctrl *ctrl;
171 ctrl = wpa_open_ctrl(ifname);
172 if (ctrl == NULL)
175 if (wpa_ctrl_request(ctrl, "STATUS", 6, buf, &len, NULL) < 0) {
176 wpa_ctrl_close(ctrl);
179 wpa_ctrl_close(ctrl);
215 struct wpa_ctrl *ctrl;
226 ctrl = wpa_open_ctrl(ifname);
227 if (ctrl == NULL)
229 wpa_ctrl_close(ctrl);