mac80211: restructure key selection
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Jul 2012 16:10:07 +0000 (18:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jul 2012 10:10:47 +0000 (12:10 +0200)
commit46e6de159ddebc179cbae60fd7b728f57c39964b
treedc2eacdf8e10b3d4bf38f3df44bd7d59b448a3f0
parent8c358bcd097fa1f63e57fb82525ba52f4a537bfa
mac80211: restructure key selection

The "no key" case in key selection that decides
whether to drop the frame or not is impossible
to understand, restructure the code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
[cavallar@lri.fr: removed blank line and restructured action frame clause]
Signed-off-by: Nicolas Cavallari <cavallar@lri.fr>
net/mac80211/tx.c