|
@@ -1897,7 +1897,7 @@ static int brcmf_sdbrcm_txpkt(struct brcmf_sdio *bus, struct sk_buff *pkt,
|
|
|
done:
|
|
|
/* restore pkt buffer pointer before calling tx complete routine */
|
|
|
skb_pull(pkt, SDPCM_HDRLEN + pad);
|
|
|
- brcmf_txcomplete(bus->sdiodev->dev, pkt, ret != 0);
|
|
|
+ brcmf_txcomplete(bus->sdiodev->dev, pkt, ret == 0);
|
|
|
return ret;
|
|
|
}
|
|
|
|