]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: rt2860sta: prevent a panic when disabling when associated
authorDarren Salt <linux@youmustbejoking.demon.co.uk>
Wed, 14 Oct 2009 01:19:22 +0000 (02:19 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Oct 2009 22:11:59 +0000 (15:11 -0700)
commitb5a56fc94bcc0910870391da8778ba1c6d41bd3d
tree1a64116ed7e7594ce6bf718d9bcc4d8377cdce5a
parent5b78a7630478e3e10c6d3ca53b2cffbee4aa0b5b
Staging: rt2860sta: prevent a panic when disabling when associated

commit 0af49167b1e5ba154e90d2c454bf4624ee47df80 upstream.

This fixes a panic which is triggered when the hardware "disappears" from
beneath the driver, i.e. when wireless is toggled off via Fn-F2 on various
EeePC models.

Ref. bug report http://bugzilla.kernel.org/show_bug.cgi?id=13390
          panic http://bugzilla.kernel.org/attachment.cgi?id=21928

Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/cmm_data_2860.c