diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2014-05-08 21:54:24 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2014-05-08 21:54:24 +0000 |
commit | 188d1a553ae975fd0f7b6d9c3abee35e466298cc (patch) | |
tree | 2ee1c2c90011aa0a086df5a232690c8a1fdfcfc4 /package | |
parent | af992d94f218d3f9b2321962e8136a6b7cd010ad (diff) | |
download | upstream-188d1a553ae975fd0f7b6d9c3abee35e466298cc.tar.gz upstream-188d1a553ae975fd0f7b6d9c3abee35e466298cc.tar.bz2 upstream-188d1a553ae975fd0f7b6d9c3abee35e466298cc.zip |
mac80211: fix warning in select_queue with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40737 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/mac80211/patches/007-select_queue.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/007-select_queue.patch b/package/kernel/mac80211/patches/007-select_queue.patch new file mode 100644 index 0000000000..a326ee3cc1 --- /dev/null +++ b/package/kernel/mac80211/patches/007-select_queue.patch @@ -0,0 +1,31 @@ +--- a/drivers/net/wireless/mwifiex/main.c ++++ b/drivers/net/wireless/mwifiex/main.c +@@ -747,7 +747,7 @@ static struct net_device_stats *mwifiex_ + return &priv->stats; + } + +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0) + static u16 + mwifiex_netdev_select_wmm_queue(struct net_device *dev, struct sk_buff *skb, + void *accel_priv, select_queue_fallback_t fallback) +--- a/net/mac80211/iface.c ++++ b/net/mac80211/iface.c +@@ -1062,7 +1062,7 @@ static void ieee80211_uninit(struct net_ + 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, +@@ -1090,7 +1090,7 @@ static const struct net_device_ops ieee8 + .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, |