Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300421
b: refs/heads/master
c: 7b69549
h: refs/heads/master
i:
  300419: 5e7274c
v: v3
  • Loading branch information
David S. Miller committed Apr 2, 2012
1 parent 693c7da commit 2e4dda4
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 61849dda1dd4ee286521fdfde388dcfc1d891bad
refs/heads/master: 7b69549a0f2cd0822fa5d26be3424ba267150d92
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/ath/ath6kl/testmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len)
ath6kl_warn("failed to allocate testmode rx skb!\n");
return;
}
NLA_PUT_U32(skb, ATH6KL_TM_ATTR_CMD, ATH6KL_TM_CMD_TCMD);
NLA_PUT(skb, ATH6KL_TM_ATTR_DATA, buf_len, buf);
if (nla_put_u32(skb, ATH6KL_TM_ATTR_CMD, ATH6KL_TM_CMD_TCMD) ||
nla_put(skb, ATH6KL_TM_ATTR_DATA, buf_len, buf))
goto nla_put_failure;
cfg80211_testmode_event(skb, GFP_KERNEL);
return;

Expand Down

0 comments on commit 2e4dda4

Please sign in to comment.