Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341458
b: refs/heads/master
c: 3077494
h: refs/heads/master
v: v3
  • Loading branch information
Pandiyarajan Pitchaimuthu authored and Kalle Valo committed Oct 24, 2012
1 parent 965a96d commit 72cd8be
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 86aa7c1efc63e0969dee575ac9e021dbcbaa95c3
refs/heads/master: 307749406d7daea452d55df76f734b4fffddf599
4 changes: 4 additions & 0 deletions trunk/drivers/net/wireless/ath/ath6kl/txrx.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@ void ath6kl_tx_complete(struct htc_target *target,
list);
list_del(&packet->list);

if (WARN_ON_ONCE(packet->endpoint == ENDPOINT_UNUSED ||
packet->endpoint >= ENDPOINT_MAX))
continue;

ath6kl_cookie = (struct ath6kl_cookie *)packet->pkt_cntxt;
if (WARN_ON_ONCE(!ath6kl_cookie))
continue;
Expand Down

0 comments on commit 72cd8be

Please sign in to comment.