aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-11-13 18:26:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-11-13 18:26:27 +0000
commit5957dfadb77bf1ec11c926c08cbc088e4d1a4c1d (patch)
tree8342d722185e299ad9611dc9c3f90f0e5fcd2153 /package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch
parent9f4414f7895491176ae7f82b88f01cbb4cbf1b7a (diff)
downloadupstream-5957dfadb77bf1ec11c926c08cbc088e4d1a4c1d.tar.gz
upstream-5957dfadb77bf1ec11c926c08cbc088e4d1a4c1d.tar.bz2
upstream-5957dfadb77bf1ec11c926c08cbc088e4d1a4c1d.zip
ath9k: fix crashes when using shared IRQs
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r43239 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43240 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch')
-rw-r--r--package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch b/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch
index f16f6b0317..22b9e2e0de 100644
--- a/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch
+++ b/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch
@@ -55,7 +55,7 @@
ops->spectral_scan_config = ar9003_hw_spectral_scan_config;
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
-@@ -646,7 +646,8 @@ static void ath9k_init_txpower_limits(st
+@@ -650,7 +650,8 @@ static void ath9k_init_txpower_limits(st
if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
ath9k_init_band_txpower(sc, IEEE80211_BAND_5GHZ);
@@ -65,7 +65,7 @@
}
static const struct ieee80211_iface_limit if_limits[] = {
-@@ -774,6 +775,18 @@ static void ath9k_set_hw_capab(struct at
+@@ -778,6 +779,18 @@ static void ath9k_set_hw_capab(struct at
SET_IEEE80211_PERM_ADDR(hw, common->macaddr);
}
@@ -84,7 +84,7 @@
int ath9k_init_device(u16 devid, struct ath_softc *sc,
const struct ath_bus_ops *bus_ops)
{
-@@ -822,6 +835,8 @@ int ath9k_init_device(u16 devid, struct
+@@ -823,6 +836,8 @@ int ath9k_init_device(u16 devid, struct
ARRAY_SIZE(ath9k_tpt_blink));
#endif