rt2x00: Fix rmmod hang of rt2800pci
authorGertjan van Wingerde <gwingerde@gmail.com>
Sat, 7 May 2011 15:27:46 +0000 (17:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 May 2011 19:54:48 +0000 (15:54 -0400)
commit9a24af1136e6d08c73010205caa282f46223aed5
tree38cff7079702e3c8917a1b6e19425fa3c4c2347e
parent1816fcdcbbe9ff42ba1a9dac5198d18efb9d95e9
rt2x00: Fix rmmod hang of rt2800pci

txstatus_timer should only be deleted for USB devices, as it is only
initialized for USB devices.

Reported-by: Andreas Hartmann <andihartmann@01019freenet.de>
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c