004-Fix-3.14-build.patch 641 B

12345678910111213141516171819202122
  1. From d17fcac710e629463591f6bd09d76b66ec591583 Mon Sep 17 00:00:00 2001
  2. From: Hauke Mehrtens <hauke@hauke-m.de>
  3. Date: Wed, 5 Feb 2014 20:57:07 +0100
  4. Subject: [PATCH] Fix 3.14 build
  5. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  6. ---
  7. main.c | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. --- a/main.c
  10. +++ b/main.c
  11. @@ -500,7 +500,9 @@ int acx_init_ieee80211(acx_device_t *ade
  12. hw->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS;
  13. hw->queues = 1;
  14. hw->wiphy->max_scan_ssids = 1;
  15. +#if CONFIG_ACX_MAC80211_VERSION < KERNEL_VERSION(3, 14, 0)
  16. hw->channel_change_time = 10000;
  17. +#endif
  18. /* OW TODO Check if RTS/CTS threshold can be included here */