mac80211: fix ht capabilities for HT20
[openwrt.git] / package / kernel / acx-mac80211 / patches / 004-Fix-3.14-build.patch
index 2eadb8f..847b573 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
        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)
++#if CONFIG_ACX_MAC80211_VERSION < KERNEL_VERSION(3, 14, 0)
        hw->channel_change_time = 10000;
 +#endif