From: Felix Fietkau Date: Sat, 18 Dec 2010 17:40:09 +0000 (+0000) Subject: mac80211: fix a missing return value X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5c4d94f71489faf9db5c95016f8bacc13539c4f2;p=openwrt%2Fstaging%2Frmilecki.git mac80211: fix a missing return value SVN-Revision: 24671 --- diff --git a/package/mac80211/patches/540-mac80211_tx_optimization.patch b/package/mac80211/patches/540-mac80211_tx_optimization.patch index e239abd828b..a3220782238 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,