- action = blobmsg_get_u32(tb[NOTIFY_ACTION]);
-
- /* allow proto_shell_notify_error even in S_TEARDOWN or S_SETUP_ABORT states */
- if (action != 3 && (state->sm == S_TEARDOWN || state->sm == S_SETUP_ABORT))
- return UBUS_STATUS_PERMISSION_DENIED;
-
- switch(action) {