~ubuntu-branches/ubuntu/trusty/linux-lts-vivid/trusty-proposed

« back to all changes in this revision

Viewing changes to drivers/net/wireless/ath/ath10k/htt_tx.c

  • Committer: Package Import Robot
  • Author(s): Luis Henriques, Kamal Mostafa, K. Y. Srinivasan
  • Date: 2015-11-23 13:24:32 UTC
  • Revision ID: package-import@ubuntu.com-20151123132432-903xk653el60bfun
[ Kamal Mostafa ]

* Release Tracking Bug
  - LP: #1518519

[ K. Y. Srinivasan ]

* SAUCE: Drivers: hv: vmbus: Fix a Host signaling bug
  - LP: #1508706

Show diffs side-by-side

added added

removed removed

Lines of Context:
401
401
        skb_cb->paddr = dma_map_single(dev, msdu->data, msdu->len,
402
402
                                       DMA_TO_DEVICE);
403
403
        res = dma_mapping_error(dev, skb_cb->paddr);
404
 
        if (res)
 
404
        if (res) {
 
405
                res = -EIO;
405
406
                goto err_free_txdesc;
 
407
        }
406
408
 
407
409
        skb_put(txdesc, len);
408
410
        cmd = (struct htt_cmd *)txdesc->data;
487
489
        skb_cb->paddr = dma_map_single(dev, msdu->data, msdu->len,
488
490
                                       DMA_TO_DEVICE);
489
491
        res = dma_mapping_error(dev, skb_cb->paddr);
490
 
        if (res)
 
492
        if (res) {
 
493
                res = -EIO;
491
494
                goto err_free_txbuf;
 
495
        }
492
496
 
493
497
        if (likely(use_frags)) {
494
498
                frags = skb_cb->htt.txbuf->frags;