summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2010-03-29 11:00:20 -0700
committerJohn W. Linville <linville@tuxdriver.com>2010-04-06 15:53:28 -0400
commit1cb561f83793191cf86a2db3948d28f5f42df9ff (patch)
treef1d8109a0ed6595e1fb6ef3e5b14b8194deb5215 /net/mac80211/mesh.c
parentde0f60ea94e132c858caa64a44b2012e1e8580b0 (diff)
downloadblackbird-obmc-linux-1cb561f83793191cf86a2db3948d28f5f42df9ff.tar.gz
blackbird-obmc-linux-1cb561f83793191cf86a2db3948d28f5f42df9ff.zip
mac80211: Handle mesh action frames in ieee80211_rx_h_action
This fixes the problem introduced in commit 8404080568613d93ad7cf0a16dfb68 which broke mesh peer link establishment. changes: v2 Added missing break (Johannes) v3 Broke original patch into two (Johannes) Signed-off-by: Javier Cardona <javier@cozybit.com> Cc: stable@kernel.org Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r--net/mac80211/mesh.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index 61080c5fad50..7a6bebce7f2f 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -749,9 +749,6 @@ ieee80211_mesh_rx_mgmt(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)
switch (fc & IEEE80211_FCTL_STYPE) {
case IEEE80211_STYPE_ACTION:
- if (skb->len < IEEE80211_MIN_ACTION_SIZE)
- return RX_DROP_MONITOR;
- /* fall through */
case IEEE80211_STYPE_PROBE_RESP:
case IEEE80211_STYPE_BEACON:
skb_queue_tail(&ifmsh->skb_queue, skb);
OpenPOWER on IntegriCloud