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>
This commit is contained in:
David Woodhouse
2007-12-08 18:29:16 +00:00
committed by David S. Miller
parent 59f3e4bf1e
commit e7deced05f
2 changed files with 6 additions and 14 deletions

View File

@ -143,8 +143,6 @@ struct lbs_private {
all other bits reserved 0 */
u8 dnld_sent;
struct device *hotplug_device;
/** thread to service interrupts */
struct task_struct *main_thread;
wait_queue_head_t waitq;