]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rt2x00: fix cancelling uninitialized work
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 4 Apr 2011 11:50:32 +0000 (13:50 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Apr 2011 20:02:25 +0000 (13:02 -0700)
commitdd3e5dee2c55cbb4f8afc54def21554e3e6b48f1
tree2eda3250c940db90c8908e1c997bceebd3f76256
parentd6cdf976903232d385274ffa4bbfac182b3991d6
rt2x00: fix cancelling uninitialized work

commit 37f4ee0b6b39640828dac5937a482c20e8ac794f upstream.

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

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/rt2x00/rt2x00dev.c