rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue
authorLarry Finger <[email protected]>
Mon, 25 Mar 2013 03:06:41 +0000 (22:06 -0500)
committerJohn W. Linville <[email protected]>
Mon, 1 Apr 2013 20:20:00 +0000 (16:20 -0400)
commita269913c52ad37952a4d9953bb6d748f7299c304
tree8f15190009b592607ea25fd6971cad4ef8dc55a8
parent3a16b41240aa893b2c397ea3bd07d86e95e7694b
rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue

In commit a5ffbe0, some of the calls to rtl_lps_leave() were switched
to be called from a work queue to avoid a scheduling while atomic bug.
This patch converts the remaining calls to use the work queue. In
addition, the call to rtl_lps_enter() is also switched to the work
queue. None of these newly converted calls had triggered the bug (yet),
but this change make all of them fit a single pattern.

Signed-off-by: Larry Finger <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/rtlwifi/base.c
drivers/net/wireless/rtlwifi/core.c
drivers/net/wireless/rtlwifi/pci.c
drivers/net/wireless/rtlwifi/wifi.h