projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca06cad
)
ath6kl: Minor cleanup in ath6kldev_submit_scat_req()
author
Vasanthakumar Thiagarajan
<
[email protected]
>
Mon, 18 Jul 2011 08:53:25 +0000
(14:23 +0530)
committer
Kalle Valo
<
[email protected]
>
Tue, 9 Aug 2011 16:45:20 +0000
(19:45 +0300)
Signed-off-by: Vasanthakumar Thiagarajan <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/ath/ath6kl/htc_hif.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath6kl/htc_hif.c
b/drivers/net/wireless/ath/ath6kl/htc_hif.c
index 003fe0abb3527ce00563243bf2ce59a8703bbb08..043f85fc6dbbb2452bdbdd9f1f7a704b4d81735f 100644
(file)
--- 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,
scat_req->addr, !read ? "async" : "sync",
(read) ? "rd" : "wr");
- if (!read && scat_req->virt_scat)
+ if (!read && scat_req->virt_scat)
{
status = ath6kldev_cp_scat_dma_buf(scat_req, false);
-
- if (status) {
- if (!read) {
+ if (status) {
scat_req->status = status;
scat_req->complete(dev->ar->htc_target, scat_req);
return 0;
}
- return status;
}
status = ath6kl_hif_scat_req_rw(dev->ar, scat_req);