mac80211: fix a missing return value
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 18 Dec 2010 17:40:09 +0000 (17:40 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 18 Dec 2010 17:40:09 +0000 (17:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24671 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/540-mac80211_tx_optimization.patch

index e239abd..a322078 100644 (file)
@@ -8,7 +8,7 @@
 +      else if (head_need || tail_need)
                I802_DEBUG_INC(local->tx_expand_skb_head);
 +      else
 +      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,
  
        if (pskb_expand_head(skb, head_need, tail_need, GFP_ATOMIC)) {
                wiphy_debug(local->hw.wiphy,
This page took 0.024005 seconds and 4 git commands to generate.