rt2x00: fix cancelling uninitialized work
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 4 Apr 2011 11:50:32 +0000 (13:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Apr 2011 19:22:13 +0000 (15:22 -0400)
commit37f4ee0b6b39640828dac5937a482c20e8ac794f
tree089b0b57861a5442a851dcc2bb21bb26ecdd019b
parent2e3e66e3bbcd5f999dc66d843a3efc2314e40e7b
rt2x00: fix cancelling uninitialized work

{rx,tx}done_work's are only initialized for usb devices.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: stable@kernel.org
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c