summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-03-23 17:08:14 +0300
committerJohannes Berg <johannes.berg@intel.com>2015-03-30 10:42:02 +0200
commit07862e13e60305e3026aaff88c764b4bafa02a64 (patch)
treef1672c75f880a236826feb79ee8f618bd6b22af8 /net/mac80211/mlme.c
parent45fd63293a214c48d6d3856bb39cf207a805dfda (diff)
downloadtalos-op-linux-07862e13e60305e3026aaff88c764b4bafa02a64.tar.gz
talos-op-linux-07862e13e60305e3026aaff88c764b4bafa02a64.zip
mac80111: aes_gcm: clean up ieee80211_aes_gcm_key_setup_encrypt()
This code is written using an anti-pattern called "success handling" which makes it hard to read, especially if you are used to normal kernel style. It should instead be written as a list of directives in a row with branches for error handling. (Basically copied from Dan's previous patch for CCM) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud