Search Linux Wireless

Re: [PATCH] ath5k: added cfg80211 based rfkill support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 9, 2009 at 11:33 AM, Tobias
Doerffel<tobias.doerffel@xxxxxxxxx> 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.

-- 
Bob Copeland %% www.bobcopeland.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux