Commit 86c228a7 authored by Johan Almbladh's avatar Johan Almbladh Committed by Johannes Berg

mac80211: perform power save processing before decryption

This patch decouples the power save processing from the frame decryption
by running the decrypt rx handler after sta_process. In the case where
the decryption failed for some reason, the stack used to not process
the PM and MOREDATA bits for that frame. The stack now always performs
power save processing regardless of the decryption result. That means that
encrypted data frames and NULLFUNC frames are now handled in the same way
regarding power save processing, making the stack more robust.
Signed-off-by: default avatarJohan Almbladh <ja@anyfi.net>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent dee08ab8
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment