From: Jouni Malinen Date: Mon, 29 Mar 2010 05:31:15 +0000 (-0700) Subject: mac80211: Fix drop_unencrypted for MFP with hwaccel X-Git-Tag: v2.6.35-rc1~473^2~460^2^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3efca0a63b4ac4d8849d37d082a95cf1a75162d;p=pandora-kernel.git mac80211: Fix drop_unencrypted for MFP with hwaccel Commit bef5d1c70d132145c0fc75b3586a19841a9a82e4 split ieee80211_drop_unencrypted() into separate functions that are used for Data and Management frames. However, it did not handle the RX_FLAG_DECRYPTED correctly for Management frames: ieee80211_drop_unencrypted() can only return 0 for Management frames, so there is no point in calling it here. Instead, just check the status->flag directly. Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville --- Reading git-diff-tree failed