diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-05-21 19:32:16 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-05-21 19:32:16 +0000 |
commit | 072937888e133f5e97fd05a7496eaf7eeae04079 (patch) | |
tree | 0feb87d5e07d42b118e3231b8261a2610b364c83 /package/kernel/mac80211/patches/306-ath5k-fix-reset-race.patch | |
parent | 4bb7b2186ef9c56655c0bd035ae2740888c751a9 (diff) | |
download | mtk-20170518-072937888e133f5e97fd05a7496eaf7eeae04079.zip mtk-20170518-072937888e133f5e97fd05a7496eaf7eeae04079.tar.gz mtk-20170518-072937888e133f5e97fd05a7496eaf7eeae04079.tar.bz2 |
mac80211: make it work with 3.18.12+
3.18.12 backported 61ada528dea028331e99e8ceaed87c683ad25de2 ("sched/wait:
Provide infrastructure to deal with nested blocking") from 3.19, causing
the following error on load:
[ 13.588000] compat: exports duplicate symbol woken_wake_function (owned by kernel)
Fix this by guarding it with a check for 3.18.11 or earlier instead of
3.19.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45710
Diffstat (limited to 'package/kernel/mac80211/patches/306-ath5k-fix-reset-race.patch')
-rw-r--r-- | package/kernel/mac80211/patches/306-ath5k-fix-reset-race.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/306-ath5k-fix-reset-race.patch b/package/kernel/mac80211/patches/306-ath5k-fix-reset-race.patch index 3990765..85a1904 100644 --- a/package/kernel/mac80211/patches/306-ath5k-fix-reset-race.patch +++ b/package/kernel/mac80211/patches/306-ath5k-fix-reset-race.patch @@ -66,7 +66,7 @@ Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> unsigned int fif_filter_flags; /* Current FIF_* filter flags */ --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c -@@ -1523,6 +1523,9 @@ ath5k_set_current_imask(struct ath5k_hw +@@ -1523,6 +1523,9 @@ ath5k_set_current_imask(struct ath5k_hw enum ath5k_int imask; unsigned long flags; @@ -76,7 +76,7 @@ Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> spin_lock_irqsave(&ah->irqlock, flags); imask = ah->imask; if (ah->rx_pending) -@@ -2862,6 +2865,8 @@ ath5k_reset(struct ath5k_hw *ah, struct +@@ -2862,6 +2865,8 @@ ath5k_reset(struct ath5k_hw *ah, struct ATH5K_DBG(ah, ATH5K_DEBUG_RESET, "resetting\n"); @@ -85,7 +85,7 @@ Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> ath5k_hw_set_imr(ah, 0); synchronize_irq(ah->irq); ath5k_stop_tasklets(ah); -@@ -2952,6 +2957,8 @@ ath5k_reset(struct ath5k_hw *ah, struct +@@ -2952,6 +2957,8 @@ ath5k_reset(struct ath5k_hw *ah, struct */ /* ath5k_chan_change(ah, c); */ |