Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98548
b: refs/heads/master
c: 664f200
h: refs/heads/master
v: v3
  • Loading branch information
Michael Buesch authored and John W. Linville committed Jun 25, 2008
1 parent 5edfe00 commit e7cd1ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9e8eae0935f03e2d03a7ad7af80d8fc6c53e68c
refs/heads/master: 664f200610a3c9641ff58fc91b986b804cb1cc2d
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/b43legacy/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2378,8 +2378,10 @@ static int b43legacy_op_tx(struct ieee80211_hw *hw,
} else
err = b43legacy_dma_tx(dev, skb, ctl);
out:
if (unlikely(err))
return NETDEV_TX_BUSY;
if (unlikely(err)) {
/* Drop the packet. */
dev_kfree_skb_any(skb);
}
return NETDEV_TX_OK;
}

Expand Down

0 comments on commit e7cd1ff

Please sign in to comment.