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)
commit38c1a01cf10c6e4049b4ffbd4a6af655df2a46e1
treee45dbf773f78bc5fe2df780814fb64c319620197
parentb78a4932f5fb11fadf41e69c606a33fa6787574c
wireless: add back sysfs directory

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.

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