17 lines
665 B
Diff
17 lines
665 B
Diff
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c
|
|
index 64130e1..4168869 100644
|
|
--- a/drivers/net/wireless/ath/ath6kl/main.c
|
|
+++ b/drivers/net/wireless/ath/ath6kl/main.c
|
|
@@ -1109,7 +1141,11 @@ static struct net_device_stats *ath6kl_get_stats(struct net_device *dev)
|
|
}
|
|
|
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39))
|
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0))
|
|
+static int ath6kl_set_features(struct net_device *dev, netdev_features_t features)
|
|
+#else
|
|
static int ath6kl_set_features(struct net_device *dev, u32 features)
|
|
+#endif
|
|
{
|
|
struct ath6kl_vif *vif = netdev_priv(dev);
|
|
struct ath6kl *ar = vif->ar;
|