From: Felix Fietkau Date: Mon, 8 Mar 2010 00:34:30 +0000 (+0000) Subject: mac80211: remove an obsolete patch which breaks 2.6.32 compat X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3f6ca40dd133f4421f5bdac4fc0c44058b27ba9d;p=librecmc%2Flibrecmc.git mac80211: remove an obsolete patch which breaks 2.6.32 compat SVN-Revision: 20046 --- diff --git a/package/mac80211/patches/120-linux-2.6.30-compat.patch b/package/mac80211/patches/120-linux-2.6.30-compat.patch deleted file mode 100644 index 179c1eb649..0000000000 --- a/package/mac80211/patches/120-linux-2.6.30-compat.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/net/wireless/nl80211.c -+++ b/net/wireless/nl80211.c -@@ -5789,7 +5789,11 @@ int nl80211_send_action(struct cfg80211_ - return err; - } - -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32)) - err = genlmsg_unicast(wiphy_net(&rdev->wiphy), msg, nlpid); -+#else -+ err = genlmsg_unicast(msg, nlpid); -+#endif - if (err < 0) - return err; - return 0;