Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127374
b: refs/heads/master
c: bebd590
h: refs/heads/master
v: v3
  • Loading branch information
Alan Stern authored and Jesse Barnes committed Jan 7, 2009
1 parent 5380a6a commit c5bd312
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0e88af855cbc5012f2e796f42686969b82d79d4
refs/heads/master: bebd590ca27e80ffe3129ab4f0a3124f0a340f43
2 changes: 1 addition & 1 deletion trunk/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable)
int error = 0;
bool pme_done = false;

if (!device_may_wakeup(&dev->dev))
if (enable && !device_may_wakeup(&dev->dev))
return -EINVAL;

/*
Expand Down

0 comments on commit c5bd312

Please sign in to comment.