Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368359
b: refs/heads/master
c: f6baf15
h: refs/heads/master
i:
  368357: a3656b5
  368355: 3df188a
  368351: 1557b29
v: v3
  • Loading branch information
Dan Carpenter authored and John W. Linville committed Mar 6, 2013
1 parent 7f1eae8 commit 2e7d0a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 6f56b06e74e2805577bf7940dc0fb17b3310d6b6
refs/heads/master: f6baf153eec3cd195589b7cfe32b4ea62d8ec9d1
3 changes: 1 addition & 2 deletions trunk/drivers/net/wireless/ath/ath6kl/htc_pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,15 +988,14 @@ static int ath6kl_htc_pipe_rx_complete(struct ath6kl *ar, struct sk_buff *skb,

htc_hdr = (struct htc_frame_hdr *) netdata;

ep = &target->endpoint[htc_hdr->eid];

if (htc_hdr->eid >= ENDPOINT_MAX) {
ath6kl_dbg(ATH6KL_DBG_HTC,
"HTC Rx: invalid EndpointID=%d\n",
htc_hdr->eid);
status = -EINVAL;
goto free_skb;
}
ep = &target->endpoint[htc_hdr->eid];

payload_len = le16_to_cpu(get_unaligned(&htc_hdr->payld_len));

Expand Down

0 comments on commit 2e7d0a9

Please sign in to comment.