Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179247
b: refs/heads/master
c: d790744
h: refs/heads/master
i:
  179245: 6039d3c
  179243: 02ca976
  179239: c73b6f6
  179231: 54543e6
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Jan 8, 2010
1 parent aef9a89 commit 8c3773b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 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: 045cfb71a3901005bf6dcedae98cecb3360a0bfc
refs/heads/master: d79074488083ec0d7ecd15352192dc1631f25643
4 changes: 3 additions & 1 deletion trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1963,7 +1963,9 @@ static void ieee80211_sta_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,
rma = ieee80211_rx_mgmt_disassoc(sdata, mgmt, skb->len);
break;
case IEEE80211_STYPE_ACTION:
/* XXX: differentiate, can only happen for CSA now! */
if (mgmt->u.action.category != WLAN_CATEGORY_SPECTRUM_MGMT)
break;

ieee80211_sta_process_chanswitch(sdata,
&mgmt->u.action.u.chan_switch.sw_elem,
ifmgd->associated);
Expand Down
4 changes: 4 additions & 0 deletions trunk/net/mac80211/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2015,6 +2015,10 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
}
break;
default:
/* do not process rejected action frames */
if (mgmt->u.action.category & 0x80)
return RX_DROP_MONITOR;

return RX_CONTINUE;
}

Expand Down

0 comments on commit 8c3773b

Please sign in to comment.