commit | 020fa0f2f03ad7ef9c51cfda6a156b3cdf86b631 | [log] [tgz] |
---|---|---|
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | Wed Sep 11 16:14:31 2019 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Oct 04 13:47:12 2019 +0200 |
tree | bf868493adabb78f53699651c7279b52cc3e6d05 | |
parent | 9077f052abd5391a866dd99e27212213648becef [diff] |
mac80211: IBSS: avoid unneeded return value processing when ieee80211_ibss_csa_beacon() fails, we return it's value. When it succeeds, we basically copy it's value and also .. return it. Just return it immediately, simplifying the code. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Link: https://lore.kernel.org/r/20190911141431.12498-1-koen.vandeputte@ncentric.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>