From: Nicolas Cavallari Date: Wed, 4 Jul 2012 16:10:08 +0000 (+0200) Subject: mac80211: tx: do not drop non-robust mgmt to non-MFP stas. X-Git-Tag: v3.6-rc1~125^2~57^2~77^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4922f71f2506e36d81a03f8fec4559bb7d175bf7;p=pandora-kernel.git mac80211: tx: do not drop non-robust mgmt to non-MFP stas. When drop_unencrypted is enabled and MFP is disabled, non-robust management frames for not-yet associated STA are dropped. This isn't visible as many management frames sent from the kernel have TX_INTFL_DONT_ENCRYPT set and management frames injected from a monitor vif have TX_CTL_INJECTED so aren't dropped. But management frames sent from userspace via NL80211_CMD_FRAME do not have this flag set, so are dropped. This patch make it always accept non-robust management frames. Signed-off-by: Nicolas Cavallari Signed-off-by: Johannes Berg --- Reading git-diff-tree failed