diff options
| author | Gertjan van Wingerde <[email protected]> | 2011-11-12 18:10:44 +0000 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-11-15 15:02:56 +0000 |
| commit | ed66ba472a742cd8df37d7072804b2111cdb1014 (patch) | |
| tree | 862306c7f75c736aef7f132a6523897f7d9a9f65 /fs/btrfs/async-thread.c | |
| parent | rt2x00: Add USB device ID of Buffalo WLI-UC-GNHP. (diff) | |
| download | kernel-ed66ba472a742cd8df37d7072804b2111cdb1014.tar.gz kernel-ed66ba472a742cd8df37d7072804b2111cdb1014.zip | |
rt2x00: Fix sleep-while-atomic bug in powersaving code.
The generic powersaving code that determines after reception of a frame
whether the device should go back to sleep or whether is could stay
awake was calling rt2x00lib_config directly from RX tasklet context.
On a number of the devices this call can actually sleep, due to having
to confirm that the sleeping commands have been executed successfully.
Fix this by moving the call to rt2x00lib_config to a workqueue call.
This fixes bug https://bugzilla.redhat.com/show_bug.cgi?id=731672
Tested-by: Tomas Trnka <[email protected]>
Signed-off-by: Gertjan van Wingerde <[email protected]>
Cc: <[email protected]>
Acked-by: Ivo van Doorn <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
