Commit c2f182d0 authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Ben Hutchings

rtlwifi: usb: add missing freeing of skbuff

commit 36ef0b47 upstream.
Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@iki.fi>
Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent cc6f6de3
......@@ -812,6 +812,7 @@ static void _rtl_usb_transmit(struct ieee80211_hw *hw, struct sk_buff *skb,
if (unlikely(!_urb)) {
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
("Can't allocate urb. Drop skb!\n"));
kfree_skb(skb);
return;
}
urb_list = &rtlusb->tx_pending[ep_num];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment