aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
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
commit09c7dbd5604e4621e0710e4a19aafce352e527fa (patch)
treec118662442513ff4be310619f9110c40a0f100ac /package/mac80211/patches
parent17d77908905a293ca8a3a0c6f6c11397918bb0bc (diff)
downloadupstream-09c7dbd5604e4621e0710e4a19aafce352e527fa.tar.gz
upstream-09c7dbd5604e4621e0710e4a19aafce352e527fa.tar.bz2
upstream-09c7dbd5604e4621e0710e4a19aafce352e527fa.zip
mac80211: fix a missing return value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24671 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches')
-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,