Skip to content
Commit 020fa0f2 authored by Koen Vandeputte's avatar Koen Vandeputte Committed by Johannes Berg
Browse files

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: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
Link: https://lore.kernel.org/r/20190911141431.12498-1-koen.vandeputte@ncentric.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 9077f052
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment