Discussion:
[Acx100-devel] [PATCH] Fix 3.14 build
Hauke Mehrtens
2014-02-05 19:58:17 UTC
Permalink
Signed-off-by: Hauke Mehrtens <***@hauke-m.de>
---
main.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/main.c b/main.c
index 841592f..f202627 100644
--- a/main.c
+++ b/main.c
@@ -500,7 +500,9 @@ int acx_init_ieee80211(acx_device_t *adev, struct ieee80211_hw *hw)
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 */
--
1.7.10.4
Larry Finger
2014-02-05 20:38:40 UTC
Permalink
Post by Hauke Mehrtens
---
main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/main.c b/main.c
index 841592f..f202627 100644
--- a/main.c
+++ b/main.c
@@ -500,7 +500,9 @@ int acx_init_ieee80211(acx_device_t *adev, struct ieee80211_hw *hw)
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 */
The commit message that removed channel_change_time from mac80211 says that it
was never used there. Why not just remove it unconditionally?

Larry
Oliver Winker
2014-02-06 19:03:43 UTC
Permalink
Thanks for the patch, Hauke. I'll have a look at it soon and also if
channel_change_time is actually required, as Larry indicated.

BR, Oliver

On Wed, 5 Feb 2014 20:58:17 +0100
Post by Hauke Mehrtens
---
main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/main.c b/main.c
index 841592f..f202627 100644
--- a/main.c
+++ b/main.c
@@ -500,7 +500,9 @@ int acx_init_ieee80211(acx_device_t *adev, struct
ieee80211_hw *hw) 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 */
Loading...