mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 01:59:02 +00:00
9247864b6e
Fixes responses for nl80211 calls Reported-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
11 lines
313 B
Diff
11 lines
313 B
Diff
--- 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;
|
|
|