diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-11-03 22:09:08 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-11-03 22:09:08 +0000 |
commit | 3330f0fa390bb1da4c9049efd8f9f388c49ee6e6 (patch) | |
tree | 5332e051bc6d81f6f638e152656edfef6972596f /package/mac80211/patches/417-cfg80211-fix-rename.patch | |
parent | e0338bc09b6af973ecc6be38ff3d5e1012e1e938 (diff) |
upgrade compat-wireless to 2008-11-03
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13114 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/417-cfg80211-fix-rename.patch')
-rw-r--r-- | package/mac80211/patches/417-cfg80211-fix-rename.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/mac80211/patches/417-cfg80211-fix-rename.patch b/package/mac80211/patches/417-cfg80211-fix-rename.patch deleted file mode 100644 index 3cfab6132..000000000 --- a/package/mac80211/patches/417-cfg80211-fix-rename.patch +++ /dev/null @@ -1,32 +0,0 @@ -Subject: cfg80211: fix debugfs error handling - -If something goes wrong creating the debugfs dir or when -debugfs is not compiled in, the current code might lead to -trouble; make it more robust. - -Signed-off-by: Johannes Berg <johannes@sipsolutions.net> ---- - net/wireless/core.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - ---- everything.orig/net/wireless/core.c 2008-10-08 10:13:49.000000000 +0200 -+++ everything/net/wireless/core.c 2008-10-08 10:19:10.000000000 +0200 -@@ -185,7 +185,8 @@ int cfg80211_dev_rename(struct cfg80211_ - if (result) - goto out_unlock; - -- if (!debugfs_rename(rdev->wiphy.debugfsdir->d_parent, -+ if (rdev->wiphy.debugfsdir && -+ !debugfs_rename(rdev->wiphy.debugfsdir->d_parent, - rdev->wiphy.debugfsdir, - rdev->wiphy.debugfsdir->d_parent, - newname)) -@@ -318,6 +319,8 @@ int wiphy_register(struct wiphy *wiphy) - drv->wiphy.debugfsdir = - debugfs_create_dir(wiphy_name(&drv->wiphy), - ieee80211_debugfs_dir); -+ if (IS_ERR(drv->wiphy.debugfsdir)) -+ drv->wiphy.debugfsdir = NULL; - - res = 0; - out_unlock: |