| commit | 709ade9eb8ef06e03526115408e2fc93a9feabbd | [log] [tgz] |
|---|---|---|
| author | Gabor Juhos <juhosg@openwrt.org> | Tue Jul 14 20:17:15 2009 -0400 |
| committer | John W. Linville <linville@tuxdriver.com> | Fri Jul 24 15:05:19 2009 -0400 |
| tree | 66c9d0b622483ee22e6bdd89435e644e742aa550 | |
| parent | 0bc0798b7605664c3ab8d577b398dc7ae0b2e58c [diff] |
ath9k: serialize ath9k_ps_{wakeup,restore} calls
These functions are changing the power mode of the chip, but this may
have unpredictable effects, if another code are trying to set the power
mode via 'ath9k_hw_setpower' in the same time from another context.
Changes-licensed-under: ISC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>