mac80211: fix a missing return value

SVN-Revision: 24671
This commit is contained in:
Felix Fietkau 2010-12-18 17:40:09 +00:00
parent 121b27fb2b
commit 5c4d94f714

View file

@ -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,