Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 86c228a7 authored by Johan Almbladh's avatar Johan Almbladh Committed by Johannes Berg
Browse files

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment