[PATCH] fix /sys/class/net/<if>/wireless without dev->get_wireless_stats
commit6dd214b554f675e7e66cbce87e594a36f4a57298
authorAndrey Borzenkov <arvidjaar@mail.ru>
Tue, 10 Jan 2006 04:51:28 +0000 (9 20:51 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:24 +0000 (10 08:01 -0800)
tree3c6ab71d30a866cd5a76e478d02e77ac07870915
parent0137ecfdc3453f58a9beee95152ff61e8bad97b1
[PATCH] fix /sys/class/net/<if>/wireless without dev->get_wireless_stats

dev->get_wireless_stats is deprecated but removing it also removes wireless
subdirectory in sysfs. This patch puts it back.

akpm: I don't know what's happening here.  This might be appropriate as a
2.6.15.x compatibility backport.  Waiting to hear from Jeff.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/core/net-sysfs.c