kernel-testers.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ivo van Doorn <ivdoorn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: chris2553-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
Cc: "Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>,
	Linux Kernel Mailing List
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Kernel Testers List
	<kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [Bug #13846] Possible regression in rt61pci driver
Date: Mon, 3 Aug 2009 22:17:19 +0200	[thread overview]
Message-ID: <200908032217.19947.IvDoorn@gmail.com> (raw)
In-Reply-To: <200908031931.27427.chris2553-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>

Hi,

> On Sunday 02 August 2009, Rafael J. Wysocki wrote:
> > This message has been generated automatically as a part of a report
> > of recent regressions.
> >
> > The following bug entry is on the current list of known regressions
> > from 2.6.30.  Please verify if it still should be listed and let me know
> > (either way).
> >
> 
> The folks on the wireless project have concluded that the problem I reported is down to a hardware 
> problem when power saving is switched on on for my Belkin cardbus wireless adapter, so now I simply 
> turn power-saving off when wlan0 comes up. I did, however, ask whether anyone was going to fix the 
> fact that once power-saving turns the LEDs off, they never come back on again, but I haven't had an 
> answer. Is that a regression? I guess the answer is no, because power saving in the rt61pci driver 
> is feature that is new to 2.6.31. Should it be fixed? I think the answer is yes, but being unable 
> to do it myself, I probably don't have a vote :-)

Can't recall this issue was ever reported, but that might just be me having overlooked some emails
or have completely forgotten all about it. But here is a test patch to see if this helps in the issue,
it is not really correct for upstream, but if it works I can see if there is a better solution.

Thanks,

Ivo
---
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c
index 3845316..6fe70b1 100644
--- a/drivers/net/wireless/rt2x00/rt2x00config.c
+++ b/drivers/net/wireless/rt2x00/rt2x00config.c
@@ -196,6 +196,12 @@ void rt2x00lib_config(struct rt2x00_dev *rt2x00dev,
 	 */
 	rt2x00dev->ops->lib->config(rt2x00dev, &libconf, ieee80211_flags);
 
+	if (ieee80211_flags & IEEE80211_CONF_CHANGE_PS) {
+		rt2x00led_led_activity(rt2x00dev, !(conf->flags & IEEE80211_CONF_PS));
+		rt2x00leds_led_assoc(rt2x00dev, !(conf->flags & IEEE80211_CONF_PS));
+		rt2x00leds_led_radio(rt2x00dev, !(conf->flags & IEEE80211_CONF_PS));
+	}
+
 	/*
 	 * Some configuration changes affect the link quality
 	 * which means we need to reset the link tuner.

  parent reply	other threads:[~2009-08-03 20:17 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-02 18:49 2.6.31-rc5: Reported regressions from 2.6.30 Rafael J. Wysocki
2009-08-02 18:49 ` [Bug #13645] NULL pointer dereference at (null) (level2_spare_pgt) Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13656] 2.6.31-rc1 crashes randomly on my Machine Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13716] The AIC-7892P controller does not work any more Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13657] Linux-2.6.31-rc1 Fails To Recognize Some USB Disks Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13713] [drm/i915] Possible regression due to commit "Change GEM throttling to be 20ms (...)" Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13731] Inconsistent {IN-RECLAIM_FS-W} -> {RECLAIM_FS-ON-W} usage Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13733] 2.6.31-rc2: irq 16: nobody cared Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13742] iwlagn (4965): regression when hardware rf switch is used Rafael J. Wysocki
2009-08-05  8:32   ` Frans Pop
     [not found]     ` <200908051032.39357.elendil-EIBgga6/0yRmR6Xm/wNWPw@public.gmane.org>
2009-08-05 11:36       ` Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13726] fio sync read 4k block size 35% regression Rafael J. Wysocki
2009-08-03 20:25   ` Christian Kujau
2009-08-03 20:58     ` Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13740] X server crashes with 2.6.31-rc2 when options are changed Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13762] AHCI on HP Compaq 6715s broken, did not detect slots/ports -> unable to boot Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13770] System freeze on XFS filesystem recovery on an external disk Rafael J. Wysocki
2009-08-03 20:34   ` Christian Kujau
     [not found]     ` <alpine.DEB.2.01.0908031331190.5831-uKsf7x9sgtqQ/Pez2Lbyp4QuADTiUCJX@public.gmane.org>
2009-08-03 20:55       ` Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13781] System freeze at resume after suspend to RAM Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13809] oprofile: possible circular locking dependency detected Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13812] Ooops on uplug Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13813] Hangups in n_tty_read() Rafael J. Wysocki
2009-08-03  1:15   ` Frédéric Weisbecker
     [not found]     ` <c62985530908021815s547ac3aavb0d7a70c683ae79b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-08-03  9:20       ` Johannes Weiner
     [not found]         ` <20090803092029.GA2163-druUgvl0LCNAfugRpC6u6w@public.gmane.org>
2009-08-03 15:20           ` Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13815] emacs -nw compilation doesn't show the error message Rafael J. Wysocki
2009-08-03  2:55   ` Aneesh Kumar K.V
2009-08-03 15:22     ` Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13825] eeepc-laptop: fix hot-unplug on resume Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13819] system freeze when switching to console Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13826] thinkpad boots with backlight low Rafael J. Wysocki
2009-08-03 23:53   ` Henrique de Moraes Holschuh
     [not found]     ` <20090803235347.GA3298-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
2009-08-04 16:24       ` Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13836] suspend script fails, related to stdout? Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13833] Kernel Oops when trying to suspend with ubifs mounted on block2mtd mtd device Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13837] Input : regression - touchpad not detected Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13838] kernel BUG at include/net/netns/generic.h:41! Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13840] KMS oops on 945G system Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13848] iwlwifi (4965) regression since 2.6.30 Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13861] CIFS mounts ignore uid argument (ok in 2.6.30.3) Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13842] Oops when writing to /sys/block/ram0/queue/max_sectors_kb Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13846] Possible regression in rt61pci driver Rafael J. Wysocki
2009-08-03 18:31   ` Chris Clayton
     [not found]     ` <200908031931.27427.chris2553-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2009-08-03 19:17       ` Rafael J. Wysocki
2009-08-03 20:17       ` Ivo van Doorn [this message]
2009-08-04 16:04         ` Chris Clayton
2009-08-02 18:58 ` [Bug #13895] 2.6.31-rc4 - slab entry tak_delay_info leaking ??? Rafael J. Wysocki
2009-08-03  6:19   ` Paul Rolland
     [not found]     ` <20090803081916.4189bad4-Hu5lHNoInTV+MQpiyFM1nV6hYfS7NtTn@public.gmane.org>
2009-08-03 15:23       ` Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13891] PCI resources allocation problem on HP nx6325 Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13872] cpufreq bug (null pointer dereference) Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13894] intermittent hibernation problem Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13869] Radeon framebuffer (w/o KMS) corruption at boot Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13896] 2.6.31-rc4 broke expect and gcc's testsuite Rafael J. Wysocki
2009-08-02 18:58 ` [Bug #13899] Oops from tar, 2.6.31-rc5, 32 bit on quad core phenom Rafael J. Wysocki
2009-08-03  0:34   ` Gene Heskett
     [not found]     ` <200908022034.41252.gene.heskett-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2009-08-03 15:25       ` Rafael J. Wysocki
2009-08-02 22:22 ` 2.6.31-rc5: Reported regressions from 2.6.30 Linus Torvalds
2009-08-03 10:41   ` Mikael Pettersson
     [not found]     ` <19062.48839.950183.569219-tgku4HJDRZih8lFjZTKsyTAV6s6igYVG@public.gmane.org>
2009-08-03 15:29       ` Rafael J. Wysocki
2009-08-03 14:31   ` Johannes Weiner
     [not found]     ` <20090803143108.GA12041-druUgvl0LCNAfugRpC6u6w@public.gmane.org>
2009-08-03 16:09       ` Rafael J. Wysocki
2009-08-03 15:36   ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2009-07-26 20:23 2.6.31-rc4: " Rafael J. Wysocki
2009-07-26 20:28 ` [Bug #13846] Possible regression in rt61pci driver Rafael J. Wysocki
2009-07-27  9:27   ` Chris Clayton
     [not found]     ` <c6b1100b0907270227r4ab5a0b1q410160f92c94eae9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-27 22:53       ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200908032217.19947.IvDoorn@gmail.com \
    --to=ivdoorn-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=chris2553-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org \
    --cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rjw-KKrjLPT3xs0@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).