libertas: fix lbs_rtap attribute in sysfs
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 8 Dec 2007 18:29:16 +0000 (18:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:18 +0000 (15:06 -0800)
commite7deced05f15693cca71bfae747b8d57eadeb1b2
tree3eedb1d58e5645b800d9d4a51f08042f26677866
parent59f3e4bf1e3bc385d91a993d75865f99baa0486d
libertas: fix lbs_rtap attribute in sysfs

At least it doesn't oops when you attempt to read or write it now.
Only when you enable it and then later turn it off. And when it's
enabled I don't see how it actually works.

But one fewer oops is good, for now...

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/main.c