summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorJohan Almbladh2013-08-14 15:29:46 +0200
committerJohannes Berg2013-08-16 12:19:16 +0200
commit86c228a7627f3f2776893da47592234140fbfba8 (patch)
tree38b33316b2d56d89301f272421c615ef85f675f8 /net/mac80211/ibss.c
parentnet: rfkill: Do not ignore errors from regulator_enable() (diff)
downloadkernel-qcow2-linux-86c228a7627f3f2776893da47592234140fbfba8.tar.gz
kernel-qcow2-linux-86c228a7627f3f2776893da47592234140fbfba8.tar.xz
kernel-qcow2-linux-86c228a7627f3f2776893da47592234140fbfba8.zip
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: Johan Almbladh <ja@anyfi.net> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions