Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194227
b: refs/heads/master
c: f984d94
h: refs/heads/master
i:
  194225: 6ebfb97
  194223: a27cee1
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Apr 8, 2010
1 parent 91cbaae commit 8d6606b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f0f2669f508fb239a0f589a8b453dbe22112bf9
refs/heads/master: f984d94c500c79048b33ab14923dfcec336d9968
7 changes: 7 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/htc_hst.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,13 @@ void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle,
if (htc_handle->htc_flags & HTC_OP_CONFIG_PIPE_CREDITS) {
complete(&htc_handle->cmd_wait);
htc_handle->htc_flags &= ~HTC_OP_CONFIG_PIPE_CREDITS;
goto ret;
}

if (htc_handle->htc_flags & HTC_OP_START_WAIT) {
complete(&htc_handle->cmd_wait);
htc_handle->htc_flags &= ~HTC_OP_START_WAIT;
goto ret;
}

if (skb) {
Expand All @@ -343,6 +345,11 @@ void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle,
htc_hdr->endpoint_id, txok);
}
}

return;
ret:
/* HTC-generated packets are freed here. */
dev_kfree_skb_any(skb);
}

/*
Expand Down

0 comments on commit 8d6606b

Please sign in to comment.