mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "cnss_genl: Use new structure for genl"
This commit is contained in:
commit
8a9739baf5
1 changed files with 1 additions and 1 deletions
|
|
@ -81,6 +81,7 @@ static struct genl_family cld80211_fam __ro_after_init = {
|
|||
.hdrsize = 0, /* no private header */
|
||||
.version = 1, /* no particular meaning now */
|
||||
.maxattr = CLD80211_ATTR_MAX,
|
||||
.policy = cld80211_policy,
|
||||
.netnsok = true,
|
||||
.pre_doit = cld80211_pre_doit,
|
||||
.post_doit = NULL,
|
||||
|
|
@ -166,7 +167,6 @@ static int __cld80211_init(void)
|
|||
nl_ops[i].cmd = i + 1;
|
||||
nl_ops[i].doit = cld80211_doit;
|
||||
nl_ops[i].flags = GENL_ADMIN_PERM;
|
||||
nl_ops[i].policy = cld80211_policy;
|
||||
}
|
||||
|
||||
err = genl_register_family(&cld80211_fam);
|
||||
|
|
|
|||
Loading…
Reference in a new issue