Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341457
b: refs/heads/master
c: 86aa7c1
h: refs/heads/master
i:
  341455: 737459b
v: v3
  • Loading branch information
Pandiyarajan Pitchaimuthu authored and Kalle Valo committed Oct 24, 2012
1 parent 3a5d355 commit 965a96d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 698bf867d0d3b5669c4e85b29d2a44043a2c5c99
refs/heads/master: 86aa7c1efc63e0969dee575ac9e021dbcbaa95c3
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/ath/ath6kl/htc_mbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -2492,7 +2492,8 @@ static int ath6kl_htc_mbox_conn_service(struct htc_target *target,
max_msg_sz = le16_to_cpu(resp_msg->max_msg_sz);
}

if (assigned_ep >= ENDPOINT_MAX || !max_msg_sz) {
if (WARN_ON_ONCE(assigned_ep == ENDPOINT_UNUSED ||
assigned_ep >= ENDPOINT_MAX || !max_msg_sz)) {
status = -ENOMEM;
goto fail_tx;
}
Expand Down

0 comments on commit 965a96d

Please sign in to comment.