diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-02-05 20:02:48 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-02-05 20:02:48 +0000 |
commit | f0985524d1bb198dfe7e4061eed496769d8e3aca (patch) | |
tree | 86c5f2a40b95481cb22282c235582118a940e461 /package/kernel/acx-mac80211/patches/004-Fix-3.14-build.patch | |
parent | ef7bc819611ecfba69d9c42e38adf499cd857815 (diff) | |
download | master-31e0f0ae-f0985524d1bb198dfe7e4061eed496769d8e3aca.tar.gz master-31e0f0ae-f0985524d1bb198dfe7e4061eed496769d8e3aca.tar.bz2 master-31e0f0ae-f0985524d1bb198dfe7e4061eed496769d8e3aca.zip |
acx-mac80211: fix build after recent mac80211 update and refresh patches
This was only build tested.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39482
Diffstat (limited to 'package/kernel/acx-mac80211/patches/004-Fix-3.14-build.patch')
-rw-r--r-- | package/kernel/acx-mac80211/patches/004-Fix-3.14-build.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/acx-mac80211/patches/004-Fix-3.14-build.patch b/package/kernel/acx-mac80211/patches/004-Fix-3.14-build.patch new file mode 100644 index 0000000000..2eadb8f74c --- /dev/null +++ b/package/kernel/acx-mac80211/patches/004-Fix-3.14-build.patch @@ -0,0 +1,22 @@ +From d17fcac710e629463591f6bd09d76b66ec591583 Mon Sep 17 00:00:00 2001 +From: Hauke Mehrtens <hauke@hauke-m.de> +Date: Wed, 5 Feb 2014 20:57:07 +0100 +Subject: [PATCH] Fix 3.14 build + +Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> +--- + main.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/main.c ++++ b/main.c +@@ -500,7 +500,9 @@ int acx_init_ieee80211(acx_device_t *ade + hw->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS; + hw->queues = 1; + hw->wiphy->max_scan_ssids = 1; ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) + hw->channel_change_time = 10000; ++#endif + + /* OW TODO Check if RTS/CTS threshold can be included here */ + |