Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7df180f7 authored by Zhao, Gang's avatar Zhao, Gang Committed by Johannes Berg
Browse files

mac80211: avoid calling useless channel context code



ieee80211_assign_chanctx() checks if local->use_chanctx is true, so
the two code block related to ieee80211_assign_chanctx() can be moved
into above if clause, emphasize that these code are executed only if
local->use_chanctx is true.

Signed-off-by: default avatarZhao, Gang <gamerh2o@gmail.com>
[change subject]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 8eca1fb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment