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
..
2009-09-23 13:03:46 -05:00
2009-08-05 10:42:58 -07:00
2009-09-01 17:40:31 -07:00
2009-09-01 17:40:57 -07:00
2009-09-01 17:40:31 -07:00
2009-09-01 17:40:31 -07:00
2009-07-12 14:03:27 -07:00
2009-08-05 10:42:58 -07:00
2009-09-01 17:40:57 -07:00
2009-08-25 16:07:40 +02:00
2009-09-14 17:03:05 -07:00
2009-07-26 19:11:14 -07:00
2009-07-16 18:05:26 -07:00
2009-09-15 01:30:10 -07:00
2009-06-03 14:06:13 -04:00