acx-mac80211: really fix the build

The fix in r39482 was wrong.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39528
This commit is contained in:
Hauke Mehrtens 2014-02-08 11:30:20 +00:00
parent da3053f25a
commit 06689aa5ed

View File

@ -14,7 +14,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
hw->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS; hw->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS;
hw->queues = 1; hw->queues = 1;
hw->wiphy->max_scan_ssids = 1; hw->wiphy->max_scan_ssids = 1;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) +#if CONFIG_ACX_MAC80211_VERSION < KERNEL_VERSION(3, 14, 0)
hw->channel_change_time = 10000; hw->channel_change_time = 10000;
+#endif +#endif