1
linux/net/wireless
Johannes Berg 8f1546cadf wext: add back wireless/ dir in sysfs for cfg80211 interfaces
The move away from having drivers assign wireless handlers,
in favour of making cfg80211 assign them, broke the sysfs
registration (the wireless/ dir went missing) because the
handlers are now assigned only after registration, which is
too late.

Fix this by special-casing cfg80211-based devices, all
of which are required to have an ieee80211_ptr, in the
sysfs code, and also using get_wireless_stats() to have
the same values reported as in procfs.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reported-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Tested-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-09-28 16:55:07 -04:00
..
chan.c cfg80211: fix locking for SIWFREQ 2009-08-14 09:13:51 -04:00
core.c cfg80211: clean up properly on interface type change 2009-08-28 14:40:31 -04:00
core.h cfg80211: clean up properly on interface type change 2009-08-28 14:40:31 -04:00
debugfs.c
debugfs.h
ibss.c cfg80211: make spurious warnings less likely, configurable 2009-08-28 14:40:30 -04:00
Kconfig wireless: update cfg80211 kconfig entry 2009-09-08 16:31:06 -04:00
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
lib80211.c
Makefile cfg80211: validate channel settings across interfaces 2009-08-14 09:13:42 -04:00
mlme.c cfg80211: report userspace SME connected event properly 2009-08-20 11:35:57 -04:00
nl80211.c nl80211: jump to out_err upon unsupported iftype 2009-08-28 14:40:41 -04:00
nl80211.h
radiotap.c
reg.c trivial: remove duplicate "different" from comment 2009-08-14 09:14:02 -04:00
reg.h
scan.c cfg80211: minimal error handling for wext-compat freq scanning 2009-09-23 11:35:39 -04:00
sme.c cfg80211: always get BSS 2009-09-28 16:55:05 -04:00
sysfs.c
sysfs.h
util.c cfg80211: clean up properly on interface type change 2009-08-28 14:40:31 -04:00
wext-compat.c trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
wext-compat.h cfg80211: validate channel settings across interfaces 2009-08-14 09:13:42 -04:00
wext-sme.c cfg80211: don't set privacy w/o key 2009-09-28 16:55:04 -04:00
wext.c wext: add back wireless/ dir in sysfs for cfg80211 interfaces 2009-09-28 16:55:07 -04:00