Skip to content
Commit 782d2673 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: remove redundant check



There's no need to have two checks for "associated"
in ieee80211_sta_restart(), make the first one locked
to not race (unlikely at this point during resume)
and remove the second check.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 683d41ae
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