aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/540-mac80211_tx_optimization.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-18 17:40:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-12-18 17:40:09 +0000
commit5c4d94f71489faf9db5c95016f8bacc13539c4f2 (patch)
tree83c94ddb1b7557e0a82a1ca74e50df2eccacbcfd /package/mac80211/patches/540-mac80211_tx_optimization.patch
parent121b27fb2b3554653aae0f5cfec0c626f29bf75a (diff)
downloadupstream-5c4d94f71489faf9db5c95016f8bacc13539c4f2.tar.gz
upstream-5c4d94f71489faf9db5c95016f8bacc13539c4f2.tar.bz2
upstream-5c4d94f71489faf9db5c95016f8bacc13539c4f2.zip
mac80211: fix a missing return value
SVN-Revision: 24671
Diffstat (limited to 'package/mac80211/patches/540-mac80211_tx_optimization.patch')
-rw-r--r--package/mac80211/patches/540-mac80211_tx_optimization.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/540-mac80211_tx_optimization.patch b/package/mac80211/patches/540-mac80211_tx_optimization.patch
index e239abd828..a322078223 100644
--- a/package/mac80211/patches/540-mac80211_tx_optimization.patch
+++ b/package/mac80211/patches/540-mac80211_tx_optimization.patch
@@ -8,7 +8,7 @@
+ else if (head_need || tail_need)
I802_DEBUG_INC(local->tx_expand_skb_head);
+ else
-+ return;
++ return 0;
if (pskb_expand_head(skb, head_need, tail_need, GFP_ATOMIC)) {
wiphy_debug(local->hw.wiphy,