Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306741
b: refs/heads/master
c: 93b42ca
h: refs/heads/master
i:
  306739: 86e748a
v: v3
  • Loading branch information
Vasanthakumar Thiagarajan authored and Kalle Valo committed Apr 30, 2012
1 parent 97e714a commit ed7fede
Show file tree
Hide file tree
Showing 3 changed files with 9 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: 1881ced5963520154aebb616ad7b2ff9c2c7f012
refs/heads/master: 93b42cae16d7af185ebdee0f4e85feccfd40d986
8 changes: 7 additions & 1 deletion trunk/drivers/net/wireless/ath/ath6kl/htc_mbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,7 @@ static void ath6kl_htc_tx_from_queue(struct htc_target *target,
int bundle_sent;
int n_pkts_bundle;
u8 ac = WMM_NUM_AC;
int status;

spin_lock_bh(&target->tx_lock);

Expand Down Expand Up @@ -915,7 +916,12 @@ static void ath6kl_htc_tx_from_queue(struct htc_target *target,

ath6kl_htc_tx_prep_pkt(packet, packet->info.tx.flags,
0, packet->info.tx.seqno);
ath6kl_htc_tx_issue(target, packet);
status = ath6kl_htc_tx_issue(target, packet);

if (status) {
packet->status = status;
packet->completion(packet->context, packet);
}
}

spin_lock_bh(&target->tx_lock);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/ath/ath6kl/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ static int ath6kl_sdio_write_async(struct ath6kl *ar, u32 address, u8 *buffer,

bus_req = ath6kl_sdio_alloc_busreq(ar_sdio);

if (!bus_req)
if (WARN_ON_ONCE(!bus_req))
return -ENOMEM;

bus_req->address = address;
Expand Down

0 comments on commit ed7fede

Please sign in to comment.