diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-10-12 12:04:52 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-10-12 12:04:52 +0000 |
commit | 6b8244f07eb578e09abcf09b56ee2d12f663bf5b (patch) | |
tree | 6191767259db9a2547b5f677ee889eeb7eeb3165 /package/mac80211 | |
parent | 2904117c6da9af2a09ff746edf58c70278022210 (diff) |
mac80211: fix a crash in the netlink backport
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23409 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r-- | package/mac80211/patches/020-nl80211_fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/020-nl80211_fix.patch b/package/mac80211/patches/020-nl80211_fix.patch new file mode 100644 index 000000000..d7fb4df3e --- /dev/null +++ b/package/mac80211/patches/020-nl80211_fix.patch @@ -0,0 +1,12 @@ +--- a/compat/compat-2.6.37.c ++++ b/compat/compat-2.6.37.c +@@ -130,7 +130,8 @@ int compat_genl_register_family_with_ops + __copy(dumpit); + __copy(done); + #undef __copy +- ops[i].ops.doit = nl_doit_wrapper; ++ if (ops[i].doit) ++ ops[i].ops.doit = nl_doit_wrapper; + ret = genl_register_ops(&family->family, &ops[i].ops); + if (ret < 0) + goto error_ops; |