Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225132
b: refs/heads/master
c: a9927ba
h: refs/heads/master
v: v3
  • Loading branch information
Ben Greear authored and John W. Linville committed Dec 8, 2010
1 parent a60e209 commit 9ff308f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 80d7e403c97b712e302ec37e9beceff1dbdc9402
refs/heads/master: a9927ba3c5f3c5f6b0e8fa7557452335edeaf5fa
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/ath/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,10 @@ int ath_tx_start(struct ieee80211_hw *hw, struct sk_buff *skb,
int frmlen = skb->len + FCS_LEN;
int q;

txctl->an = (struct ath_node *)sta->drv_priv;
/* NOTE: sta can be NULL according to net/mac80211.h */
if (sta)
txctl->an = (struct ath_node *)sta->drv_priv;

if (info->control.hw_key)
frmlen += info->control.hw_key->icv_len;

Expand Down

0 comments on commit 9ff308f

Please sign in to comment.