Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 308361 Details for
Bug 411415
kernel 3.3.1 breaks ath9x module
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
initial commit from upstream
fixme.patch (text/plain), 1.35 KB, created by
Jory A. Pratt
on 2012-04-10 03:29:29 UTC
(
hide
)
Description:
initial commit from upstream
Filename:
MIME Type:
Creator:
Jory A. Pratt
Created:
2012-04-10 03:29:29 UTC
Size:
1.35 KB
patch
obsolete
>From c1afdaff90538ef085b756454f12b29575411214 Mon Sep 17 00:00:00 2001 >From: Felix Fietkau <nbd@openwrt.org> >Date: Sat, 10 Mar 2012 13:57:04 +0100 >Subject: [PATCH 1/1] ath9k: fix going to full-sleep on PS idle > >The check for PS_WAIT_FOR_TX_ACK was inverted, the hardware should only go >to full sleep if no tx is pending. > >Reported-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> >Signed-off-by: Felix Fietkau <nbd@openwrt.org> >Cc: stable@vger.kernel.org >Signed-off-by: John W. Linville <linville@tuxdriver.com> >--- > drivers/net/wireless/ath/ath9k/main.c | 8 +++++--- > 1 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c >index 33403a9..4a99010 100644 >--- a/drivers/net/wireless/ath/ath9k/main.c >+++ b/drivers/net/wireless/ath/ath9k/main.c >@@ -118,13 +118,15 @@ void ath9k_ps_restore(struct ath_softc *sc) > if (--sc->ps_usecount != 0) > goto unlock; > >- if (sc->ps_idle && (sc->ps_flags & PS_WAIT_FOR_TX_ACK)) >+ if (sc->ps_flags & PS_WAIT_FOR_TX_ACK) >+ goto unlock; >+ >+ if (sc->ps_idle) > mode = ATH9K_PM_FULL_SLEEP; > else if (sc->ps_enabled && > !(sc->ps_flags & (PS_WAIT_FOR_BEACON | > PS_WAIT_FOR_CAB | >- PS_WAIT_FOR_PSPOLL_DATA | >- PS_WAIT_FOR_TX_ACK))) >+ PS_WAIT_FOR_PSPOLL_DATA))) > mode = ATH9K_PM_NETWORK_SLEEP; > else > goto unlock; >-- >1.7.6.5 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 411415
: 308361