mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
wifi: mac80211: fix indentation in ieee80211_set_monitor_channel()
There's some confusing indentation, I thought even that braces were missing. Fix indentation here. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -919,7 +919,7 @@ static int ieee80211_set_monitor_channel(struct wiphy *wiphy,
|
||||
sdata = IEEE80211_DEV_TO_SUB_IF(dev);
|
||||
if (!ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) {
|
||||
if (cfg80211_chandef_identical(&local->monitor_chanreq.oper,
|
||||
&chanreq.oper))
|
||||
&chanreq.oper))
|
||||
return 0;
|
||||
|
||||
sdata = wiphy_dereference(wiphy, local->monitor_sdata);
|
||||
@@ -928,7 +928,7 @@ static int ieee80211_set_monitor_channel(struct wiphy *wiphy,
|
||||
}
|
||||
|
||||
if (rcu_access_pointer(sdata->deflink.conf->chanctx_conf) &&
|
||||
cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper,
|
||||
cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper,
|
||||
&chanreq.oper))
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user