aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/008-fix-genl-family-id.patch
blob: ee8fa6c2bc577be85a36985dbb34ce21b35fc702 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/compat/backport-4.12.c
+++ b/compat/backport-4.12.c
@@ -224,6 +224,7 @@ int bp_extack_genl_register_family(struc
 	}
 
 	/* copy this since the family might access it directly */
+	family->id = copy->family.id;
 	family->attrbuf = copy->family.attrbuf;
 	family->mcgrp_offset = copy->family.mcgrp_offset;