Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255405
b: refs/heads/master
c: b942471
h: refs/heads/master
i:
  255403: 10fbf01
v: v3
  • Loading branch information
Mohammed Shafi Shajakhan authored and John W. Linville committed Jun 1, 2011
1 parent c64fa2a commit 4bd2669
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 049436b9804394e4d6caf7da5f3507bd8f4caa6e
refs/heads/master: b942471bfcda207a51379628379aa821216486e7
7 changes: 4 additions & 3 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,12 +392,14 @@ void ath_paprd_calibrate(struct work_struct *work)
if (!caldata)
return;

ath9k_ps_wakeup(sc);

if (ar9003_paprd_init_table(ah) < 0)
return;
goto fail_paprd;

skb = alloc_skb(len, GFP_KERNEL);
if (!skb)
return;
goto fail_paprd;

skb_put(skb, len);
memset(skb->data, 0, len);
Expand All @@ -409,7 +411,6 @@ void ath_paprd_calibrate(struct work_struct *work)
memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN);
memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN);

ath9k_ps_wakeup(sc);
for (chain = 0; chain < AR9300_MAX_CHAINS; chain++) {
if (!(common->tx_chainmask & BIT(chain)))
continue;
Expand Down

0 comments on commit 4bd2669

Please sign in to comment.