Lines Matching defs:action

64  * passed as data and contains data to specify the type of action requested
116 /* Requires WRITE, SELECT or WLAN auth depending on action */
252 nwam_action_t action = req->nwda_data.nwdad_object_action.nwdad_action;
272 if (action == NWAM_ACTION_ENABLE || action == NWAM_ACTION_DISABLE) {
275 action == NWAM_ACTION_ENABLE ?
279 "need %s for %s action", AUTOCONF_SELECT_AUTH,
280 nwam_action_to_string(action));
286 "need %s for %s action on Known WLAN",
287 AUTOCONF_WLAN_AUTH, nwam_action_to_string(action));
290 } else if (action == NWAM_ACTION_ADD || action == NWAM_ACTION_DESTROY) {
293 "need %s for %s action", AUTOCONF_WRITE_AUTH,
294 nwam_action_to_string(action));
297 } else if (action == NWAM_ACTION_REFRESH) {
301 "need either %s or %s for %s action",
303 nwam_action_to_string(action));
308 "action %d (%s)", action, nwam_action_to_string(action));
312 switch (action) {
316 action == NWAM_ACTION_ENABLE ?
321 action == NWAM_ACTION_ENABLE ? "enabling" : "disabling",
326 err = nwamd_enm_action(name, action);
329 err = nwamd_loc_action(name, action);
332 err = nwamd_ncu_action(name, parent, action);
335 if (action == NWAM_ACTION_DISABLE) {
340 err = nwamd_ncp_action(name, action);
361 err = nwamd_enm_action(name, action);
364 err = nwamd_loc_action(name, action);
367 err = nwamd_known_wlan_action(name, action);
370 err = nwamd_ncu_action(name, parent, action);
373 err = nwamd_ncp_action(name, action);
426 "action %d (%s)", action, nwam_action_to_string(action));
433 * At this point, we've successfully carried out an action.
442 "%s action on %s: %s", nwam_action_to_string(action),