---
main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
index 841592f..b30d837 100644
--- a/main.c
+++ b/main.c
@@ -682,7 +682,7 @@ int acx_op_config(struct ieee80211_hw *hw, u32 changed)
if (changed & IEEE80211_CONF_CHANGE_CHANNEL) {
logf1(L_DEBUG, "IEEE80211_CONF_CHANGE_CHANNEL,"
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
+#if CONFIG_ACX_MAC80211_VERSION >= KERNEL_VERSION(3, 10, 0)
"channel->hw_value=%i\n", conf->chandef.chan->hw_value);
acx_set_channel(adev, conf->chandef.chan->hw_value,
--
1.8.2.1
|