Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96557
b: refs/heads/master
c: dbabad0
h: refs/heads/master
i:
  96555: 6557651
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed May 13, 2008
1 parent 8c7a4c7 commit 196e56c
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 6d6936e2ea82ebcbdd12d489b7b5ccf430de52f1
refs/heads/master: dbabad0c9c026dea3ba803cbd9d768cdffc68e32
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/zd1211rw/zd_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,9 +889,13 @@ static void tx_urb_complete(struct urb *urb)
}
free_urb:
skb = (struct sk_buff *)urb->context;
zd_mac_tx_to_dev(skb, urb->status);
/*
* grab 'usb' pointer before handing off the skb (since
* it might be freed by zd_mac_tx_to_dev or mac80211)
*/
cb = (struct zd_tx_skb_control_block *)skb->cb;
usb = &zd_hw_mac(cb->hw)->chip.usb;
zd_mac_tx_to_dev(skb, urb->status);
free_tx_urb(usb, urb);
tx_dec_submitted_urbs(usb);
return;
Expand Down

0 comments on commit 196e56c

Please sign in to comment.