summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-09-13 08:28:22 +0200
committerJohannes Berg <johannes.berg@intel.com>2016-09-13 08:28:22 +0200
commit11d62caf93cf12ce80ff8304849887666ec8880a (patch)
treea9e1890f3a0d41ece3eb1ee9823951808380b2c2 /net/wireless
parent8d51dbb8c7fb5412f0935c20f66e27d2c63ef4a0 (diff)
downloadop-kernel-dev-11d62caf93cf12ce80ff8304849887666ec8880a.zip
op-kernel-dev-11d62caf93cf12ce80ff8304849887666ec8880a.tar.gz
mac80211: simplify TDLS RA lookup
smatch pointed out that the second check of "tdls_auth" was pointless since if it was true, we returned from the function already. We can further simplify the code by moving the first check (if it's a TDLS peer at all) into the outer if, to only handle that inside. This simplifies the control flow here. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud