summaryrefslogtreecommitdiffstats
path: root/binding-wifi/wifi-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding-wifi/wifi-api.c')
-rw-r--r--binding-wifi/wifi-api.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/binding-wifi/wifi-api.c b/binding-wifi/wifi-api.c
index 2117d6d..22b8d77 100644
--- a/binding-wifi/wifi-api.c
+++ b/binding-wifi/wifi-api.c
@@ -652,17 +652,17 @@ static void unsubscribe(struct afb_req request)
* array of the verbs exported to afb-daemon
*/
static const struct afb_verb_v2 binding_verbs[] = {
-/* VERB'S NAME SESSION MANAGEMENT FUNCTION TO CALL SHORT DESCRIPTION */
-{ .verb = "activate", .session = AFB_SESSION_NONE, .callback = activate, .info = "Activate Wi-Fi" },
-{ .verb = "deactivate", .session = AFB_SESSION_NONE, .callback = deactivate, .info ="Deactivate Wi-Fi" },
-{ .verb = "scan", .session = AFB_SESSION_NONE, .callback = scan, .info ="Scanning Wi-Fi" },
-{ .verb = "scan_result", .session = AFB_SESSION_NONE, .callback = scan_result, .info = "Get scan result Wi-Fi" },
-{ .verb = "connect", .session = AFB_SESSION_NONE, .callback = connect, .info ="Connecting to Access Point" },
-{ .verb = "status", .session = AFB_SESSION_NONE, .callback = status, .info ="Check connection status" },
-{ .verb = "disconnect", .session = AFB_SESSION_NONE, .callback = disconnect, .info ="Disconnecting connection" },
-{ .verb = "insertpasskey",.session = AFB_SESSION_NONE, .callback = insertpasskey, .info ="inputs the passkey after it has been requsted"},
-{ .verb = "subscribe", .session = AFB_SESSION_NONE, .callback = subscribe, .info ="unsubscribes to the event of 'name'"},
-{ .verb = "unsubscribe", .session = AFB_SESSION_NONE, .callback = unsubscribe, .info ="unsubscribes to the event of 'name'"},
+/* VERB'S NAME FUNCTION TO CALL SHORT DESCRIPTION */
+{ .verb = "activate", .callback = activate, .info = "Activate Wi-Fi" },
+{ .verb = "deactivate", .callback = deactivate, .info ="Deactivate Wi-Fi" },
+{ .verb = "scan", .callback = scan, .info ="Scanning Wi-Fi" },
+{ .verb = "scan_result", .callback = scan_result, .info = "Get scan result Wi-Fi" },
+{ .verb = "connect", .callback = connect, .info ="Connecting to Access Point" },
+{ .verb = "status", .callback = status, .info ="Check connection status" },
+{ .verb = "disconnect", .callback = disconnect, .info ="Disconnecting connection" },
+{ .verb = "insertpasskey", .callback = insertpasskey, .info ="inputs the passkey after it has been requsted"},
+{ .verb = "subscribe", .callback = subscribe, .info ="unsubscribes to the event of 'name'"},
+{ .verb = "unsubscribe", .callback = unsubscribe, .info ="unsubscribes to the event of 'name'"},
{ } /* marker for end of the array */
};