summaryrefslogtreecommitdiff
path: root/package/kernel/acx-mac80211/patches/003-add-changes-for-3-10.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-10-12 10:50:35 +0000
committerJonas Gorski <jogo@openwrt.org>2013-10-12 10:50:35 +0000
commit06f3f01b06940547c3293aa8589696e24173dddd (patch)
treea28d773924039e566e0094260330f2291aae5600 /package/kernel/acx-mac80211/patches/003-add-changes-for-3-10.patch
parent8a240be62b35193c945cf94e448ac24f215b2f31 (diff)
downloadmtk-20170518-06f3f01b06940547c3293aa8589696e24173dddd.zip
mtk-20170518-06f3f01b06940547c3293aa8589696e24173dddd.tar.gz
mtk-20170518-06f3f01b06940547c3293aa8589696e24173dddd.tar.bz2
acx-mac80211: update to latest version
Fixes compilation for linux 3.10. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 38367
Diffstat (limited to 'package/kernel/acx-mac80211/patches/003-add-changes-for-3-10.patch')
-rw-r--r--package/kernel/acx-mac80211/patches/003-add-changes-for-3-10.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/kernel/acx-mac80211/patches/003-add-changes-for-3-10.patch b/package/kernel/acx-mac80211/patches/003-add-changes-for-3-10.patch
deleted file mode 100644
index 18d4f9e..0000000
--- a/package/kernel/acx-mac80211/patches/003-add-changes-for-3-10.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/main.c
-+++ b/main.c
-@@ -681,6 +681,7 @@ int acx_op_config(struct ieee80211_hw *h
- if (changed & IEEE80211_CONF_CHANGE_CHANNEL) {
- changed_not_done &= ~IEEE80211_CONF_CHANGE_CHANNEL;
-
-+#if CONFIG_ACX_MAC80211_VERSION < KERNEL_VERSION(3, 10, 0)
- logf1(L_DEBUG, "IEEE80211_CONF_CHANGE_CHANNEL, "
- "channel->hw_value=%i\n", conf->channel->hw_value);
-
-@@ -689,6 +690,16 @@ int acx_op_config(struct ieee80211_hw *h
-
- acx_selectchannel(adev, conf->channel->hw_value,
- conf->channel->center_freq);
-+#else
-+ logf1(L_DEBUG, "IEEE80211_CONF_CHANGE_CHANNEL, "
-+ "channel->hw_value=%i\n", conf->chandef.chan->hw_value);
-+
-+ if (conf->chandef.chan->hw_value == adev->channel)
-+ goto change_channel_done;
-+
-+ acx_selectchannel(adev, conf->chandef.chan->hw_value,
-+ conf->chandef.chan->center_freq);
-+#endif
- }
- change_channel_done:
- if (changed_not_done)