aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-07-18 04:53:25 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 12:45:20 -0400
commit23b7840a1b1327fbcc2599e33f50b26d263d5328 (patch)
treef7230bb95ddedf49315605dc3ddd5dd70c35b63c /drivers/net
parentca06cadb732955fae377b435c83e3746123a71ac (diff)
ath6kl: Minor cleanup in ath6kldev_submit_scat_req()
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc_hif.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc_hif.c b/drivers/net/wireless/ath/ath6kl/htc_hif.c
index 003fe0abb352..043f85fc6dbb 100644
--- a/drivers/net/wireless/ath/ath6kl/htc_hif.c
+++ b/drivers/net/wireless/ath/ath6kl/htc_hif.c
@@ -191,16 +191,13 @@ int ath6kldev_submit_scat_req(struct ath6kl_device *dev,
191 scat_req->addr, !read ? "async" : "sync", 191 scat_req->addr, !read ? "async" : "sync",
192 (read) ? "rd" : "wr"); 192 (read) ? "rd" : "wr");
193 193
194 if (!read && scat_req->virt_scat) 194 if (!read && scat_req->virt_scat) {
195 status = ath6kldev_cp_scat_dma_buf(scat_req, false); 195 status = ath6kldev_cp_scat_dma_buf(scat_req, false);
196 196 if (status) {
197 if (status) {
198 if (!read) {
199 scat_req->status = status; 197 scat_req->status = status;
200 scat_req->complete(dev->ar->htc_target, scat_req); 198 scat_req->complete(dev->ar->htc_target, scat_req);
201 return 0; 199 return 0;
202 } 200 }
203 return status;
204 } 201 }
205 202
206 status = ath6kl_hif_scat_req_rw(dev->ar, scat_req); 203 status = ath6kl_hif_scat_req_rw(dev->ar, scat_req);