projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1816fcd
)
rt2x00: Fix rmmod hang of rt2800pci
author
Gertjan van Wingerde
<
[email protected]
>
Sat, 7 May 2011 15:27:46 +0000
(17:27 +0200)
committer
John W. Linville
<
[email protected]
>
Tue, 10 May 2011 19:54:48 +0000
(15:54 -0400)
txstatus_timer should only be deleted for USB devices, as it is only
initialized for USB devices.
Reported-by: Andreas Hartmann <
[email protected]
>
Signed-off-by: Gertjan van Wingerde <
[email protected]
>
Signed-off-by: Ivo van Doorn <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/rt2x00/rt2x00dev.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2x00dev.c
b/drivers/net/wireless/rt2x00/rt2x00dev.c
index 2eb5196977fd09573efece428af2b039c5984393..c018d67aab8e40b7a5c719d04f14eb52a4853d9b 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/
drivers/net/wireless/rt2x00/rt2x00dev.c
@@
-1159,9
+1159,9
@@
void rt2x00lib_remove_dev(struct rt2x00_dev *rt2x00dev)
/*
* Stop all work.
*/
- del_timer_sync(&rt2x00dev->txstatus_timer);
cancel_work_sync(&rt2x00dev->intf_work);
if (rt2x00_is_usb(rt2x00dev)) {
+ del_timer_sync(&rt2x00dev->txstatus_timer);
cancel_work_sync(&rt2x00dev->rxdone_work);
cancel_work_sync(&rt2x00dev->txdone_work);
}