diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-28 04:19:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-28 04:19:40 -0400 |
commit | 1b63ba8a86c85524a8d7e5953b314ce71ebcb9c9 (patch) | |
tree | fe3dc41cbb47ae12b7c3faf6a88b097349e50d5a /drivers/net/wireless/b43legacy/main.c | |
parent | e35c3269edba151e1c703d87068a28ce2cd65bb0 (diff) | |
parent | d420895efb259a78dda50f95289571faa6e10e41 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/wireless/iwlwifi/iwl4965-base.c
Diffstat (limited to 'drivers/net/wireless/b43legacy/main.c')
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 5f533b93ad5d..069157eea05c 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -2377,8 +2377,10 @@ static int b43legacy_op_tx(struct ieee80211_hw *hw, | |||
2377 | } else | 2377 | } else |
2378 | err = b43legacy_dma_tx(dev, skb); | 2378 | err = b43legacy_dma_tx(dev, skb); |
2379 | out: | 2379 | out: |
2380 | if (unlikely(err)) | 2380 | if (unlikely(err)) { |
2381 | return NETDEV_TX_BUSY; | 2381 | /* Drop the packet. */ |
2382 | dev_kfree_skb_any(skb); | ||
2383 | } | ||
2382 | return NETDEV_TX_OK; | 2384 | return NETDEV_TX_OK; |
2383 | } | 2385 | } |
2384 | 2386 | ||