diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-03-06 10:26:18 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-03-06 10:26:18 +0000 |
commit | dd83b6c7aefff22302cec34dbc9cc3785d3fb8f4 (patch) | |
tree | eaac7f1065faf2d1daf89949eb5085a3788afd9e /package/mac80211/patches/410-ath9k-always-compile-ath_radio_-en-dis-able.patch | |
parent | 980d3e646146f7e6ea70edae09f38b0cb4858511 (diff) | |
download | upstream-dd83b6c7aefff22302cec34dbc9cc3785d3fb8f4.tar.gz upstream-dd83b6c7aefff22302cec34dbc9cc3785d3fb8f4.tar.bz2 upstream-dd83b6c7aefff22302cec34dbc9cc3785d3fb8f4.zip |
[package] mac80211: update compat-wireless to 2009-03-05, add more rt2x00 and ath9k patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14757 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/410-ath9k-always-compile-ath_radio_-en-dis-able.patch')
-rw-r--r-- | package/mac80211/patches/410-ath9k-always-compile-ath_radio_-en-dis-able.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/package/mac80211/patches/410-ath9k-always-compile-ath_radio_-en-dis-able.patch b/package/mac80211/patches/410-ath9k-always-compile-ath_radio_-en-dis-able.patch new file mode 100644 index 0000000000..436a5616a5 --- /dev/null +++ b/package/mac80211/patches/410-ath9k-always-compile-ath_radio_-en-dis-able.patch @@ -0,0 +1,41 @@ +From eb96b22223352ed6446532c2436f301e86970144 Mon Sep 17 00:00:00 2001 +From: Gabor Juhos <juhosg@openwrt.org> +Date: Fri, 6 Mar 2009 10:50:37 +0100 +Subject: [PATCH] ath9k: always compile ath_radio_{en,dis}able + +ath_radio_{en,dis}able is only compiled if RFKILL is enabled, but it is +required by the 'ath9k_wiphy_select' function. + +Signed-off-by: Gabor Juhos <juhosg@openwrt.org> +--- + drivers/net/wireless/ath9k/main.c | 12 ++++++------ + 1 files changed, 6 insertions(+), 6 deletions(-) + +--- a/drivers/net/wireless/ath9k/main.c ++++ b/drivers/net/wireless/ath9k/main.c +@@ -1090,12 +1090,6 @@ fail: + ath_deinit_leds(sc); + } + +-#if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE) +- +-/*******************/ +-/* Rfkill */ +-/*******************/ +- + void ath_radio_enable(struct ath_softc *sc) + { + struct ath_hw *ah = sc->sc_ah; +@@ -1172,6 +1166,12 @@ void ath_radio_disable(struct ath_softc + ath9k_ps_restore(sc); + } + ++#if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE) ++ ++/*******************/ ++/* Rfkill */ ++/*******************/ ++ + static bool ath_is_rfkill_set(struct ath_softc *sc) + { + struct ath_hw *ah = sc->sc_ah; |