git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PM: Introduce PM_EVENT_HIBERNATE callback state
[safe/jmp/linux-2.6]
/
net
/
rfkill
/
rfkill.c
diff --git
a/net/rfkill/rfkill.c
b/net/rfkill/rfkill.c
index
1a47f5d
..
140a0a8
100644
(file)
--- a/
net/rfkill/rfkill.c
+++ b/
net/rfkill/rfkill.c
@@
-232,7
+232,7
@@
static int rfkill_suspend(struct device *dev, pm_message_t state)
struct rfkill *rfkill = to_rfkill(dev);
if (dev->power.power_state.event != state.event) {
- if (state.event
== PM_EVENT_SUSPEND
) {
+ if (state.event
& PM_EVENT_SLEEP
) {
mutex_lock(&rfkill->mutex);
if (rfkill->state == RFKILL_STATE_ON)