summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/570-ath9k_mci_static.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-10 21:17:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-10 21:17:12 +0000
commitac8143726d9be4b8e8377424b26303377235eb67 (patch)
treef5a8703d0815d823ddd3edfd52be70235fc8abab /package/mac80211/patches/570-ath9k_mci_static.patch
parent60c148cc14e1cd983fb72022530bae59c93b2602 (diff)
ath9k: disable bluetooth coexistence support to reduce module size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29495 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/570-ath9k_mci_static.patch')
-rw-r--r--package/mac80211/patches/570-ath9k_mci_static.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/mac80211/patches/570-ath9k_mci_static.patch b/package/mac80211/patches/570-ath9k_mci_static.patch
new file mode 100644
index 0000000000..9a337c0d60
--- /dev/null
+++ b/package/mac80211/patches/570-ath9k_mci_static.patch
@@ -0,0 +1,37 @@
+--- a/drivers/net/wireless/ath/ath9k/mci.c
++++ b/drivers/net/wireless/ath/ath9k/mci.c
+@@ -234,8 +234,8 @@ static void ath_mci_cal_msg(struct ath_s
+ }
+ }
+
+-void ath_mci_process_profile(struct ath_softc *sc,
+- struct ath_mci_profile_info *info)
++static void ath_mci_process_profile(struct ath_softc *sc,
++ struct ath_mci_profile_info *info)
+ {
+ struct ath_common *common = ath9k_hw_common(sc->sc_ah);
+ struct ath_btcoex *btcoex = &sc->btcoex;
+@@ -261,8 +261,8 @@ void ath_mci_process_profile(struct ath_
+ ath_mci_update_scheme(sc);
+ }
+
+-void ath_mci_process_status(struct ath_softc *sc,
+- struct ath_mci_profile_status *status)
++static void ath_mci_process_status(struct ath_softc *sc,
++ struct ath_mci_profile_status *status)
+ {
+ struct ath_common *common = ath9k_hw_common(sc->sc_ah);
+ struct ath_btcoex *btcoex = &sc->btcoex;
+--- a/drivers/net/wireless/ath/ath9k/mci.h
++++ b/drivers/net/wireless/ath/ath9k/mci.h
+@@ -128,10 +128,6 @@ struct ath_mci_coex {
+ };
+
+ void ath_mci_flush_profile(struct ath_mci_profile *mci);
+-void ath_mci_process_profile(struct ath_softc *sc,
+- struct ath_mci_profile_info *info);
+-void ath_mci_process_status(struct ath_softc *sc,
+- struct ath_mci_profile_status *status);
+ int ath_mci_setup(struct ath_softc *sc);
+ void ath_mci_cleanup(struct ath_softc *sc);
+ void ath_mci_intr(struct ath_softc *sc);