Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203281
b: refs/heads/master
c: 292b4df
h: refs/heads/master
i:
  203279: b3f216f
v: v3
  • Loading branch information
John W. Linville committed Jun 24, 2010
1 parent 9db392a commit 01b69a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: a3275e24aa97fe303c66e4ab06a67b12730a8c2f
refs/heads/master: 292b4df62a5a05a077269535d24eaabc8831c79d
8 changes: 4 additions & 4 deletions trunk/net/mac80211/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2056,11 +2056,11 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
nskb = skb_copy_expand(rx->skb, local->hw.extra_tx_headroom, 0,
GFP_ATOMIC);
if (nskb) {
struct ieee80211_mgmt *mgmt = (void *)nskb->data;
struct ieee80211_mgmt *nmgmt = (void *)nskb->data;

mgmt->u.action.category |= 0x80;
memcpy(mgmt->da, mgmt->sa, ETH_ALEN);
memcpy(mgmt->sa, rx->sdata->vif.addr, ETH_ALEN);
nmgmt->u.action.category |= 0x80;
memcpy(nmgmt->da, nmgmt->sa, ETH_ALEN);
memcpy(nmgmt->sa, rx->sdata->vif.addr, ETH_ALEN);

memset(nskb->cb, 0, sizeof(nskb->cb));

Expand Down

0 comments on commit 01b69a8

Please sign in to comment.