Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135252
b: refs/heads/master
c: 346de73
h: refs/heads/master
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Mar 16, 2009
1 parent 2fdef86 commit 6a3d4f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 05c9a4cfe41f44abd5e73964fc734f01e2981442
refs/heads/master: 346de732cbd11bdc364ae80def2380a5002d7e6b
9 changes: 2 additions & 7 deletions trunk/drivers/net/wireless/p54/p54common.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,7 @@ static int p54_rx_data(struct ieee80211_hw *dev, struct sk_buff *skb)
return 0;

if (!(hdr->flags & cpu_to_le16(P54_HDR_FLAG_DATA_IN_FCS_GOOD))) {
if (priv->filter_flags & FIF_FCSFAIL)
rx_status.flag |= RX_FLAG_FAILED_FCS_CRC;
else
return 0;
return 0;
}

if (hdr->decrypt_status == P54_DECRYPT_OK)
Expand Down Expand Up @@ -2220,9 +2217,7 @@ static void p54_configure_filter(struct ieee80211_hw *dev,
struct p54_common *priv = dev->priv;

*total_flags &= FIF_PROMISC_IN_BSS |
FIF_OTHER_BSS |
(*total_flags & FIF_PROMISC_IN_BSS ?
FIF_FCSFAIL : 0);
FIF_OTHER_BSS;

priv->filter_flags = *total_flags;

Expand Down

0 comments on commit 6a3d4f0

Please sign in to comment.