]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wireless: add back sysfs directory
authorJohannes Berg <johannes.berg@intel.com>
Fri, 16 Nov 2012 19:46:19 +0000 (20:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Dec 2012 19:37:55 +0000 (11:37 -0800)
commit4b2b47ed90264cb775c428039a14ad6fabd4006d
tree4c72874431716ae9de4ba62177af3aa33df9c567
parent597d50c7a836f80d57d2f6993d4e30d5e1ba7bdb
wireless: add back sysfs directory

commit 38c1a01cf10c6e4049b4ffbd4a6af655df2a46e1 upstream.

commit 35b2a113cb0298d4f9a1263338b456094a414057 broke (at least)
Fedora's networking scripts, they check for the existence of the
wireless directory. As the files aren't used, add the directory
back and not the files. Also do it for both drivers based on the
old wireless extensions and cfg80211, regardless of whether the
compat code for wext is built into cfg80211 or not.

Reported-by: Dave Airlie <airlied@gmail.com>
Reported-by: Bill Nottingham <notting@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/net-sysfs.c