Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214737
b: refs/heads/master
c: 58be460
h: refs/heads/master
i:
  214735: 253edfd
v: v3
  • Loading branch information
Eliad Peller authored and John W. Linville committed Sep 21, 2010
1 parent 166e95e commit 7a6e6bd
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 2c7808d9345b91bb19f6bfaebf7b9e0916b0859a
refs/heads/master: 58be4607d25f86962dee6cc6b30573f95303517e
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/wl12xx/wl1271_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ static void wl1271_rx_status(struct wl1271 *wl,

static void wl1271_rx_handle_data(struct wl1271 *wl, u32 length)
{
struct ieee80211_rx_status rx_status;
struct wl1271_rx_descriptor *desc;
struct sk_buff *skb;
u16 *fc;
Expand Down Expand Up @@ -109,14 +108,13 @@ static void wl1271_rx_handle_data(struct wl1271 *wl, u32 length)
if ((*fc & IEEE80211_FCTL_STYPE) == IEEE80211_STYPE_BEACON)
beacon = 1;

wl1271_rx_status(wl, desc, &rx_status, beacon);
wl1271_rx_status(wl, desc, IEEE80211_SKB_RXCB(skb), beacon);

wl1271_debug(DEBUG_RX, "rx skb 0x%p: %d B %s", skb, skb->len,
beacon ? "beacon" : "");

skb_trim(skb, skb->len - desc->pad_len);

memcpy(IEEE80211_SKB_RXCB(skb), &rx_status, sizeof(rx_status));
ieee80211_rx_ni(wl->hw, skb);
}

Expand Down

0 comments on commit 7a6e6bd

Please sign in to comment.