backports: select_queue patch: fix callback kernel version
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 Apr 2014 22:10:25 +0000 (00:10 +0200)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 2 May 2014 01:48:03 +0000 (18:48 -0700)
The callback argument has been passed since kernel 3.14, not
only 3.15 - fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
patches/collateral-evolutions/network/0028-select_queue/mac80211.patch

index 2e695f5b05f75cf30b65e898f0eda0ddaaffdbb4..d21a56b7201bd0fc75e31c91f13fe4c16c7b98af 100644 (file)
@@ -6,7 +6,7 @@ index 088111a..dcf149a 100644
        ieee80211_teardown_sdata(IEEE80211_DEV_TO_SUB_IF(dev));
  }
  
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
  static u16 ieee80211_netdev_select_queue(struct net_device *dev,
                                         struct sk_buff *skb,
                                         void *accel_priv,
@@ -26,7 +26,7 @@ index 088111a..dcf149a 100644
        .ndo_select_queue       = ieee80211_netdev_select_queue,
  };
  
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
  static u16 ieee80211_monitor_select_queue(struct net_device *dev,
                                          struct sk_buff *skb,
                                          void *accel_priv,