rt2x00 : bail out of regbusy_read if device is removed.
authorAlban Browaeys <prahal@yahoo.com>
Fri, 4 Dec 2009 22:46:57 +0000 (23:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 23:56:23 +0000 (18:56 -0500)
commitc70762f9acad654002704f1e53436a0ba3356c31
tree805a613a3bb7622d42176471b437ce600960039f
parent050e8a47dc8b056c880f380ffd01055669f8fe68
rt2x00 : bail out of regbusy_read if device is removed.

platform rfkill is async thus we may try to read while the device is
already off.

Signed-off-by: Alban Browaeys <prahal@yahoo.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <ivdoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00pci.c