diff options
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 */ + |