diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-18 17:40:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-12-18 17:40:09 +0000 |
commit | 5c4d94f71489faf9db5c95016f8bacc13539c4f2 (patch) | |
tree | 83c94ddb1b7557e0a82a1ca74e50df2eccacbcfd /package/mac80211/patches/540-mac80211_tx_optimization.patch | |
parent | 121b27fb2b3554653aae0f5cfec0c626f29bf75a (diff) | |
download | upstream-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.patch | 2 |
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, |