From 21bd5492b344b42780975c6eba13195e5ba2eb5f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 3 Nov 2008 22:09:08 +0000 Subject: upgrade compat-wireless to 2008-11-03 SVN-Revision: 13114 --- .../patches/416-mac80211-fix-netdev-notifier.patch | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 package/mac80211/patches/416-mac80211-fix-netdev-notifier.patch (limited to 'package/mac80211/patches/416-mac80211-fix-netdev-notifier.patch') diff --git a/package/mac80211/patches/416-mac80211-fix-netdev-notifier.patch b/package/mac80211/patches/416-mac80211-fix-netdev-notifier.patch deleted file mode 100644 index aee4582..0000000 --- a/package/mac80211/patches/416-mac80211-fix-netdev-notifier.patch +++ /dev/null @@ -1,27 +0,0 @@ -Subject: mac80211: fix debugfs netdev rename - -If, for some reason, a netdev has no debugfs dir, we shouldn't -try to rename that dir. - -Signed-off-by: Johannes Berg -Cc: Robin Holt ---- - net/mac80211/debugfs_netdev.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - ---- everything.orig/net/mac80211/debugfs_netdev.c 2008-10-08 10:08:23.000000000 +0200 -+++ everything/net/mac80211/debugfs_netdev.c 2008-10-08 10:22:52.000000000 +0200 -@@ -481,8 +481,12 @@ static int netdev_notify(struct notifier - - sdata = IEEE80211_DEV_TO_SUB_IF(dev); - -- sprintf(buf, "netdev:%s", dev->name); - dir = sdata->debugfsdir; -+ -+ if (!dir) -+ return 0; -+ -+ sprintf(buf, "netdev:%s", dev->name); - if (!debugfs_rename(dir->d_parent, dir, dir->d_parent, buf)) - printk(KERN_ERR "mac80211: debugfs: failed to rename debugfs " - "dir to %s\n", buf); -- cgit v1.1