diff options
author | Zhao, Gang <gamerh2o@gmail.com> | 2014-04-26 03:43:40 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-28 17:52:32 +0200 |
commit | 7df180f7f19355ba3017f6d6d74c2008b66db43d (patch) | |
tree | d77aa63f53e6a3192ad0c6f6f63ebc5411687328 /net/ceph | |
parent | cfg80211: Use 5MHz bandwidth by default when checking usable channels (diff) | |
download | linux-7df180f7f19355ba3017f6d6d74c2008b66db43d.tar.xz linux-7df180f7f19355ba3017f6d6d74c2008b66db43d.zip |
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: Zhao, Gang <gamerh2o@gmail.com>
[change subject]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions