brcmfmac: notify common driver about usb tx completion.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 27 Sep 2012 12:17:50 +0000 (14:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Sep 2012 17:54:08 +0000 (13:54 -0400)
brcmf_usb_tx_complete now calls brcmf_txcomplete to correct
eapol counter.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c

index 555ccdd1221052f139cb8e972533c868dc9eb6c6..a2b4b1e71017230b6d7ab262f52b45c4fa353bd7 100644 (file)
@@ -465,6 +465,8 @@ static void brcmf_usb_tx_complete(struct urb *urb)
        else
                devinfo->bus_pub.bus->dstats.tx_errors++;
 
+       brcmf_txcomplete(devinfo->dev, req->skb, urb->status == 0);
+
        brcmu_pkt_buf_free_skb(req->skb);
        req->skb = NULL;
        brcmf_usb_enq(devinfo, &devinfo->tx_freeq, req, &devinfo->tx_freecount);