Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369083
b: refs/heads/master
c: c24d992
h: refs/heads/master
i:
  369081: 287849f
  369079: 7cd5242
v: v3
  • Loading branch information
Avinash Patil authored and John W. Linville committed Mar 27, 2013
1 parent 940c78c commit 8b18c82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: b2fda1f6662681dc854ac902249a89d210cd5583
refs/heads/master: c24d992ab6b6f067f78585b723fa0c95b3a9c8bf
7 changes: 4 additions & 3 deletions trunk/drivers/net/wireless/mwifiex/pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -1983,12 +1983,13 @@ static void mwifiex_interrupt_status(struct mwifiex_adapter *adapter)
}
}
} else if (!adapter->pps_uapsd_mode &&
adapter->ps_state == PS_STATE_SLEEP) {
adapter->ps_state == PS_STATE_SLEEP &&
mwifiex_pcie_ok_to_access_hw(adapter)) {
/* Potentially for PCIe we could get other
* interrupts like shared. Don't change power
* state until cookie is set */
if (mwifiex_pcie_ok_to_access_hw(adapter))
adapter->ps_state = PS_STATE_AWAKE;
adapter->ps_state = PS_STATE_AWAKE;
adapter->pm_wakeup_fw_try = false;
}
}
}
Expand Down

0 comments on commit 8b18c82

Please sign in to comment.