From: Johannes Berg Date: Wed, 30 Apr 2014 22:10:25 +0000 (+0200) Subject: backports: select_queue patch: fix callback kernel version X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=44554cd57d0016c52aeed2ce4f27081b9d9c915f;p=openwrt%2Fstaging%2Fblogic.git backports: select_queue patch: fix callback kernel version The callback argument has been passed since kernel 3.14, not only 3.15 - fix that. Signed-off-by: Johannes Berg Signed-off-by: Luis R. Rodriguez --- diff --git a/patches/collateral-evolutions/network/0028-select_queue/mac80211.patch b/patches/collateral-evolutions/network/0028-select_queue/mac80211.patch index 2e695f5b05f7..d21a56b7201b 100644 --- a/patches/collateral-evolutions/network/0028-select_queue/mac80211.patch +++ b/patches/collateral-evolutions/network/0028-select_queue/mac80211.patch @@ -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,