]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: add back sysfs directory
authorJohannes Berg <johannes.berg@intel.com>
Fri, 16 Nov 2012 19:46:19 +0000 (20:46 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 16 Nov 2012 20:37:52 +0000 (21:37 +0100)
commita11dc1a831cad6e2b36c785acf892a82b9ef2fae
treee45dbf773f78bc5fe2df780814fb64c319620197
parent53c53ac913c87adaf443f88f75845745eaf1d27f
wireless: add back sysfs directory

commit b33cfe21479f50dce8b411571fb6e63a7cea9815 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.

Cc: stable@vger.kernel.org [3.6]
Reported-by: Dave Airlie <airlied@gmail.com>
Reported-by: Bill Nottingham <notting@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/core/net-sysfs.c