Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278007
b: refs/heads/master
c: b8d5d5f
h: refs/heads/master
i:
  278005: 646b8e8
  278003: e804bf0
  277999: ded7090
v: v3
  • Loading branch information
Vasanthakumar Thiagarajan authored and Kalle Valo committed Nov 11, 2011
1 parent f7939ac commit 2eb80d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 4159cc935a7ed119e5f824db06defaa34d992b56
refs/heads/master: b8d5d5ff0305f07061f672c91f63479433451af5
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/ath/ath6kl/htc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1715,12 +1715,10 @@ static int ath6kl_htc_rx_fetch(struct htc_target *target,
packet = list_first_entry(rx_pktq, struct htc_packet,
list);

list_del(&packet->list);

/* fully synchronous */
packet->completion = NULL;

if (!list_empty(rx_pktq))
if (!list_is_singular(rx_pktq))
/*
* look_aheads in all packet
* except the last one in the
Expand All @@ -1735,7 +1733,7 @@ static int ath6kl_htc_rx_fetch(struct htc_target *target,
if (status)
return status;

list_add_tail(&packet->list, comp_pktq);
list_move_tail(&packet->list, comp_pktq);
}
}

Expand Down

0 comments on commit 2eb80d8

Please sign in to comment.