summaryrefslogtreecommitdiff
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorJohan Almbladh <ja@anyfi.net>2013-08-14 13:29:46 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2013-08-16 10:19:16 (GMT)
commit86c228a7627f3f2776893da47592234140fbfba8 (patch)
tree38b33316b2d56d89301f272421c615ef85f675f8 /net/mac80211/ibss.c
parentdee08ab83d0378d922b67e7cf10bbec3e4ea343b (diff)
downloadlinux-86c228a7627f3f2776893da47592234140fbfba8.tar.xz
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