linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Bob Copeland <me@bobcopeland.com>
Cc: Tobias Doerffel <tobias.doerffel@gmail.com>,
	ath5k-devel@lists.ath5k.org, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] ath5k: added cfg80211 based rfkill support
Date: Tue, 9 Jun 2009 15:00:27 -0400	[thread overview]
Message-ID: <20090609190026.GA3910@tuxdriver.com> (raw)
In-Reply-To: <b6c5339f0906091126k573b8725hf623367abcdcdf1f@mail.gmail.com>

On Tue, Jun 09, 2009 at 02:26:12PM -0400, Bob Copeland wrote:
> On Tue, Jun 9, 2009 at 11:33 AM, Tobias
> Doerffel<tobias.doerffel@gmail.com> wrote:
> 
> > +config ATH5K_RFKILL
> > +       bool "Atheros 5xxx rfkill support"
> > +       depends on ATH5K
> > +       default y
> > +       ---help---
> > +         Include support for enabling/disabling WiFi via rfkill switch
> > +         with Atheros 5xxx cards
> > +
> 
> We can still drop this.
> 
> > +       /* enable interrupt for rfkill switch */
> > +       if (AR5K_EEPROM_HDR_RFKILL(ah->ah_capabilities.cap_eeprom.ee_header)) {
> > +               ath5k_rfkill_set_intr(sc, true);
> > +       }
> 
> Coding style...
> 
> > +       if (AR5K_EEPROM_HDR_RFKILL(ah->ah_capabilities.cap_eeprom.ee_header)) {
> > +               ath5k_rfkill_set_intr(sc, false);
> > +       }
> 
> Ditto..
> 
> > +       /* enable RFKILL when stopping HW so Wifi LED is turned off */
> > +       ath5k_rfkill_enable(sc);
> 
> Odd, but ok :)
> 
> This looks really close and the remaining changes are pretty small.  If
> you want, I can take care of the above and resubmit it with your s-o-b
> so you don't have to go through another respin.

If that is your offer, maybe you could just do your own patch on top?

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

  reply	other threads:[~2009-06-09 19:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-07 11:40 [PATCH] ath5k: added cfg80211 based rfkill support Tobias Doerffel
2009-06-07 12:28 ` Johannes Berg
2009-06-07 15:07 ` [ath5k-devel] " Bob Copeland
2009-06-09 15:33   ` Tobias Doerffel
2009-06-09 18:26     ` Bob Copeland
2009-06-09 19:00       ` John W. Linville [this message]
2009-06-09 19:19         ` Bob Copeland
2009-06-10  3:43         ` [PATCH] ath5k: minor rfkill cleanup Bob Copeland
2009-06-09 21:31       ` [PATCH] ath5k: added cfg80211 based rfkill support Tobias Doerffel
2009-06-09 21:57         ` [ath5k-devel] " Bob Copeland

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=20090609190026.GA3910@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=ath5k-devel@lists.ath5k.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=me@bobcopeland.com \
    --cc=tobias.doerffel@gmail.com \
    /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).