aboutsummaryrefslogtreecommitdiffstats
path: root/net/wimax/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wimax/stack.c')
-rw-r--r--net/wimax/stack.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/wimax/stack.c b/net/wimax/stack.c
index a6307813b6d5..b7f571e55448 100644
--- a/net/wimax/stack.c
+++ b/net/wimax/stack.c
@@ -420,25 +420,21 @@ static const struct genl_ops wimax_gnl_ops[] = {
420 { 420 {
421 .cmd = WIMAX_GNL_OP_MSG_FROM_USER, 421 .cmd = WIMAX_GNL_OP_MSG_FROM_USER,
422 .flags = GENL_ADMIN_PERM, 422 .flags = GENL_ADMIN_PERM,
423 .policy = wimax_gnl_policy,
424 .doit = wimax_gnl_doit_msg_from_user, 423 .doit = wimax_gnl_doit_msg_from_user,
425 }, 424 },
426 { 425 {
427 .cmd = WIMAX_GNL_OP_RESET, 426 .cmd = WIMAX_GNL_OP_RESET,
428 .flags = GENL_ADMIN_PERM, 427 .flags = GENL_ADMIN_PERM,
429 .policy = wimax_gnl_policy,
430 .doit = wimax_gnl_doit_reset, 428 .doit = wimax_gnl_doit_reset,
431 }, 429 },
432 { 430 {
433 .cmd = WIMAX_GNL_OP_RFKILL, 431 .cmd = WIMAX_GNL_OP_RFKILL,
434 .flags = GENL_ADMIN_PERM, 432 .flags = GENL_ADMIN_PERM,
435 .policy = wimax_gnl_policy,
436 .doit = wimax_gnl_doit_rfkill, 433 .doit = wimax_gnl_doit_rfkill,
437 }, 434 },
438 { 435 {
439 .cmd = WIMAX_GNL_OP_STATE_GET, 436 .cmd = WIMAX_GNL_OP_STATE_GET,
440 .flags = GENL_ADMIN_PERM, 437 .flags = GENL_ADMIN_PERM,
441 .policy = wimax_gnl_policy,
442 .doit = wimax_gnl_doit_state_get, 438 .doit = wimax_gnl_doit_state_get,
443 }, 439 },
444}; 440};
@@ -582,6 +578,7 @@ struct genl_family wimax_gnl_family __ro_after_init = {
582 .version = WIMAX_GNL_VERSION, 578 .version = WIMAX_GNL_VERSION,
583 .hdrsize = 0, 579 .hdrsize = 0,
584 .maxattr = WIMAX_GNL_ATTR_MAX, 580 .maxattr = WIMAX_GNL_ATTR_MAX,
581 .policy = wimax_gnl_policy,
585 .module = THIS_MODULE, 582 .module = THIS_MODULE,
586 .ops = wimax_gnl_ops, 583 .ops = wimax_gnl_ops,
587 .n_ops = ARRAY_SIZE(wimax_gnl_ops), 584 .n_ops = ARRAY_SIZE(wimax_gnl_ops),