[PATCH] rt2x00: Fix panic on rmmod with rfkill enabled
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 25 Sep 2007 18:57:49 +0000 (20:57 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:06 +0000 (16:53 -0700)
commitfdd0abc8175dc43a14fe414a09fd7e6a162757bd
tree8644342661201a1a6b40bfc2f5efe98351c942b4
parentdcf5475bc8458798794af9afafdb3ef33ab67fd9
[PATCH] rt2x00: Fix panic on rmmod with rfkill enabled

When ieee80211_hw.config indicates that the radio
is enabled and is configuring options that require
the link tuner to be restarted the link tuner will
cause a kernel panic when rfkill has indicated the
radio was in fact disabled.

Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c