Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341449
b: refs/heads/master
c: f08dbda
h: refs/heads/master
i:
  341447: 04a9724
v: v3
  • Loading branch information
Wei Yongjun authored and Kalle Valo committed Oct 24, 2012
1 parent a37b676 commit 2f6e8cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 527f6570300980251e818e80865b437eefb4e5d3
refs/heads/master: f08dbda25f14d6b9c1ba131f65d0c32917733f6c
14 changes: 6 additions & 8 deletions trunk/drivers/net/wireless/ath/ath6kl/htc_pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,8 @@ static enum htc_send_queue_result htc_try_send(struct htc_target *target,
packet = list_first_entry(txq,
struct htc_packet,
list);
list_del(&packet->list);
/* insert into local queue */
list_add_tail(&packet->list, &send_queue);
/* move to local queue */
list_move_tail(&packet->list, &send_queue);
}

/*
Expand All @@ -399,11 +398,10 @@ static enum htc_send_queue_result htc_try_send(struct htc_target *target,
* for cleanup */
} else {
/* callback wants to keep this packet,
* remove from caller's queue */
list_del(&packet->list);
/* put it in the send queue */
list_add_tail(&packet->list,
&send_queue);
* move from caller's queue to the send
* queue */
list_move_tail(&packet->list,
&send_queue);
}

}
Expand Down

0 comments on commit 2f6e8cd

Please sign in to comment.