mac80211: fix a missing return value

SVN-Revision: 24671
lede-17.01
Felix Fietkau 2010-12-18 17:40:09 +00:00
parent 121b27fb2b
commit 5c4d94f714
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
+ else if (head_need || tail_need) + else if (head_need || tail_need)
I802_DEBUG_INC(local->tx_expand_skb_head); I802_DEBUG_INC(local->tx_expand_skb_head);
+ else + else
+ return; + return 0;
if (pskb_expand_head(skb, head_need, tail_need, GFP_ATOMIC)) { if (pskb_expand_head(skb, head_need, tail_need, GFP_ATOMIC)) {
wiphy_debug(local->hw.wiphy, wiphy_debug(local->hw.wiphy,