diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-07-12 11:57:04 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-07-12 11:57:04 +0000 |
commit | 7c7695ab41427e391a5026effebd42ae81567de3 (patch) | |
tree | d0efe4ef5fd996a703fd5159b4048b408004850e /package/kernel/acx-mac80211/patches/003-Fix-3.10-build.patch | |
parent | 56597e059df480efe5550669b2f59ad77a5f9781 (diff) | |
download | upstream-7c7695ab41427e391a5026effebd42ae81567de3.tar.gz upstream-7c7695ab41427e391a5026effebd42ae81567de3.tar.bz2 upstream-7c7695ab41427e391a5026effebd42ae81567de3.zip |
acx-mac80211: make it compile again against new compat-wireless
Update to "latest" HEAD and update it to match latest API changes.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46305
Diffstat (limited to 'package/kernel/acx-mac80211/patches/003-Fix-3.10-build.patch')
-rw-r--r-- | package/kernel/acx-mac80211/patches/003-Fix-3.10-build.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/package/kernel/acx-mac80211/patches/003-Fix-3.10-build.patch b/package/kernel/acx-mac80211/patches/003-Fix-3.10-build.patch deleted file mode 100644 index c73784465e..0000000000 --- a/package/kernel/acx-mac80211/patches/003-Fix-3.10-build.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 1daf4bfdb072b08f3b4e412bbfa9645f88dc0a01 Mon Sep 17 00:00:00 2001 -From: Oliver Winker <oliver@oli1170.net> -Date: Tue, 3 Sep 2013 20:36:36 +0200 -Subject: [PATCH 3/3] Fix 3.10 build - -Signed-off-by: Reinhard Karcher <reinhard.karcher@gmx.net> -Signed-off-by: Oliver Winker <oliver@oli1170.net> ---- - main.c | 7 +++++++ - 1 file changed, 7 insertions(+) - ---- a/main.c -+++ b/main.c -@@ -682,10 +682,17 @@ int acx_op_config(struct ieee80211_hw *h - - if (changed & IEEE80211_CONF_CHANGE_CHANNEL) { - logf1(L_DEBUG, "IEEE80211_CONF_CHANGE_CHANNEL," -+#if CONFIG_ACX_MAC80211_VERSION >= KERNEL_VERSION(3, 10, 0) -+ "channel->hw_value=%i\n", conf->chandef.chan->hw_value); -+ -+ acx_set_channel(adev, conf->chandef.chan->hw_value, -+ conf->chandef.chan->center_freq); -+#else - "channel->hw_value=%i\n", conf->channel->hw_value); - - acx_set_channel(adev, conf->channel->hw_value, - conf->channel->center_freq); -+#endif - - changed_not_done &= ~IEEE80211_CONF_CHANGE_CHANNEL; - } |