diff options
| author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-04-09 15:53:43 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-08 08:28:05 -0400 |
| commit | 3fa0917beb29d886550fcf61a6378563d1ce9684 (patch) | |
| tree | 5b3db0ff6be64c06fc885c3ecf720ce7f2a9d5ef | |
| parent | b23f14302e86628625ac3982a6d23e35888755f2 (diff) | |
staging: vt6655: device_free_tx_buf use only ieee80211_tx_status_irqsafe
TD_FLAGS_NETIF_SKB is only for data.
Fixes issue of ack frames not being reported.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: <stable@vger.kernel.org> # v3.19+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/vt6655/device_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 4bb4f8ee4132..7cd548428a8f 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c | |||
| @@ -989,10 +989,8 @@ static void device_free_tx_buf(struct vnt_private *pDevice, PSTxDesc pDesc) | |||
| 989 | skb->len, DMA_TO_DEVICE); | 989 | skb->len, DMA_TO_DEVICE); |
| 990 | } | 990 | } |
| 991 | 991 | ||
| 992 | if (pTDInfo->byFlags & TD_FLAGS_NETIF_SKB) | 992 | if (skb) |
| 993 | ieee80211_tx_status_irqsafe(pDevice->hw, skb); | 993 | ieee80211_tx_status_irqsafe(pDevice->hw, skb); |
| 994 | else | ||
| 995 | dev_kfree_skb_irq(skb); | ||
| 996 | 994 | ||
| 997 | pTDInfo->skb_dma = 0; | 995 | pTDInfo->skb_dma = 0; |
| 998 | pTDInfo->skb = NULL; | 996 | pTDInfo->skb = NULL; |
