Skip to content
Commit 45b12570 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: remove erroneous sband/link validation



In sta_apply_parameters(), we really no longer need to
check that the link or sband exists, in fact, that's
harmful if link 0 doesn't exist, since then this will
fail.

Just remove this check, it was added for validation of
the sband where used, but it's not used here, it's now
only used in sta_link_apply_parameters() which has an
own lookup and check.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 4ca04ed3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment