Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198612
b: refs/heads/master
c: 690e781
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and John W. Linville committed May 24, 2010
1 parent b1f9edc commit 575d865
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 663cb47cc2c5acd32850f67d051e47d62ed199c9
refs/heads/master: 690e781c5a3241d2366a3120ca410162da9c365e
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/hif_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ static inline void ath9k_skb_queue_purge(struct hif_device_usb *hif_dev,
static void hif_usb_tx_cb(struct urb *urb)
{
struct tx_buf *tx_buf = (struct tx_buf *) urb->context;
struct hif_device_usb *hif_dev = tx_buf->hif_dev;
struct hif_device_usb *hif_dev;
struct sk_buff *skb;

if (!hif_dev || !tx_buf)
if (!tx_buf || !tx_buf->hif_dev)
return;

hif_dev = tx_buf->hif_dev;

switch (urb->status) {
case 0:
break;
Expand Down

0 comments on commit 575d865

Please sign in to comment.