]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited937191116db5a0abc9b6be42b316aba2c86ddd
tree089b0b57861a5442a851dcc2bb21bb26ecdd019b
parentd372e66c3903bbc54ff88ad15a4240a5dd3f919a
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